home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1989-07-05 | 40.0 KB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon Jun 26 14:49:23 1989, modified Wed Jul 5 16:58:53 1989, creator HyperCard, type HyperCard stack, 34400 bytes "AutoDocumenter" , at 0x86e0 6325 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 41 75 74 6f 44 6f | 63 75 6d 65 6e 74 65 72 |..AutoDo|cumenter|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 00 86 60 00 | 00 18 b5 a0 cc 2b 33 a0 |......`.|.....+3.|
|00000060| d8 27 0d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.'......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 86 fc 00 00 |........|........|
|00000080| 00 00 3a 00 53 54 41 4b | ff ff ff ff e6 c0 40 77 |..:.STAK|......@w|
|00000090| 00 00 00 08 00 00 86 60 | 00 00 3a 00 00 00 00 00 |.......`|..:.....|
|000000a0| 00 00 00 00 00 00 00 02 | 00 00 0a 5d 00 00 00 02 |........|...]....|
|000000b0| 00 00 0b 65 00 00 0d 4b | 00 00 00 00 00 00 00 00 |...e...K|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 01 22 80 00 01 22 80 00 | 01 22 80 00 01 22 80 00 |."..."..|."..."..|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 6f 6e 20 63 6c 6f 73 65 | 73 74 61 63 6b 0d 2d 2d |on close|stack.--|
|00000690| 20 77 68 65 6e 20 6c 65 | 61 76 69 6e 67 20 63 68 | when le|aving ch|
|000006a0| 65 63 6b 20 74 6f 20 73 | 65 65 20 69 66 20 79 6f |eck to s|ee if yo|
|000006b0| 75 20 73 68 6f 75 6c 64 | 20 64 6f 20 67 61 72 62 |u should| do garb|
|000006c0| 61 67 65 20 63 6f 6c 6c | 65 63 74 69 6f 6e 0d 2d |age coll|ection.-|
|000006d0| 2d 20 69 66 20 74 68 65 | 72 65 20 69 73 20 6d 6f |- if the|re is mo|
|000006e0| 72 65 20 74 68 61 6e 20 | 31 35 6b 20 66 72 65 65 |re than |15k free|
|000006f0| 20 74 68 65 6e 20 63 6f | 6d 70 61 63 74 20 74 68 | then co|mpact th|
|00000700| 65 20 73 74 61 63 6b 0d | 63 68 65 63 6b 66 72 65 |e stack.|checkfre|
|00000710| 65 73 70 61 63 65 0d 65 | 6e 64 20 63 6c 6f 73 65 |espace.e|nd close|
|00000720| 73 74 61 63 6b 0d 66 75 | 6e 63 74 69 6f 6e 20 70 |stack.fu|nction p|
|00000730| 6f 70 6d 65 6e 75 20 6c | 69 73 74 2c 6c 6f 63 0d |opmenu l|ist,loc.|
|00000740| 2d 2d 20 69 6e 70 75 74 | 3a 20 6c 69 73 74 20 6f |-- input|: list o|
|00000750| 66 20 6f 70 74 69 6f 6e | 73 2c 6c 6f 63 61 74 69 |f option|s,locati|
|00000760| 6f 6e 20 6f 66 20 6d 65 | 6e 75 0d 2d 2d 20 6f 75 |on of me|nu.-- ou|
|00000770| 74 70 75 74 3a 20 6e 75 | 6d 62 65 72 20 6f 66 20 |tput: nu|mber of |
|00000780| 6d 65 6e 75 20 69 74 65 | 6d 20 70 69 63 6b 65 64 |menu ite|m picked|
|00000790| 20 30 20 69 66 20 6e 6f | 6e 65 20 6f 72 20 63 61 | 0 if no|ne or ca|
|000007a0| 6e 63 65 6c 0d 2d 2d 20 | 74 68 69 73 20 74 61 6b |ncel.-- |this tak|
|000007b0| 65 73 20 61 20 6c 69 73 | 74 20 6f 66 20 6f 70 74 |es a lis|t of opt|
|000007c0| 69 6f 6e 73 2c 61 6e 64 | 20 61 20 6d 65 6e 75 20 |ions,and| a menu |
|000007d0| 6c 6f 63 61 74 69 6f 6e | 20 61 6e 64 20 64 69 73 |location| and dis|
|000007e0| 70 6c 61 79 73 0d 2d 2d | 20 61 20 6d 65 6e 75 2e |plays.--| a menu.|
|000007f0| 20 20 49 74 20 61 6c 73 | 6f 20 63 68 65 63 6b 73 | It als|o checks|
|00000800| 20 74 6f 20 73 65 65 20 | 69 66 20 74 68 65 20 75 | to see |if the u|
|00000810| 73 65 72 20 70 69 63 6b | 73 20 74 68 65 20 63 61 |ser pick|s the ca|
|00000820| 6e 63 65 6c 20 6f 70 74 | 69 6f 6e 0d 69 66 20 74 |ncel opt|ion.if t|
|00000830| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 69 74 65 |he numbe|r of ite|
|00000840| 6d 73 20 69 6e 20 6c 69 | 73 74 20 3c 20 31 20 74 |ms in li|st < 1 t|
|00000850| 68 65 6e 0d 70 75 74 20 | 22 43 61 6e 63 65 6c 22 |hen.put |"Cancel"|
|00000860| 20 69 6e 74 6f 20 6c 69 | 73 74 0d 65 6e 64 20 69 | into li|st.end i|
|00000870| 66 0d 70 75 74 20 28 28 | 74 68 65 20 6e 75 6d 62 |f.put ((|the numb|
|00000880| 65 72 20 6f 66 20 69 74 | 65 6d 73 20 69 6e 20 6c |er of it|ems in l|
|00000890| 69 73 74 29 20 2b 20 31 | 30 29 20 69 6e 74 6f 20 |ist) + 1|0) into |
|000008a0| 6e 6c 69 73 74 0d 70 75 | 74 20 72 65 64 6f 6c 69 |nlist.pu|t redoli|
|000008b0| 73 74 20 28 6c 69 73 74 | 29 20 69 6e 74 6f 20 6c |st (list|) into l|
|000008c0| 69 73 74 0d 70 75 74 20 | 69 74 65 6d 20 31 20 6f |ist.put |item 1 o|
|000008d0| 66 20 20 6c 6f 63 2b 35 | 30 20 69 6e 74 6f 20 68 |f loc+5|0 into h|
|000008e0| 0d 70 75 74 20 69 74 65 | 6d 20 32 20 6f 66 20 20 |.put ite|m 2 of |
|000008f0| 6c 6f 63 2b 35 30 20 69 | 6e 74 6f 20 76 0d 67 65 |loc+50 i|nto v.ge|
|00000900| 74 20 50 6f 70 55 70 4d | 65 6e 75 28 6c 69 73 74 |t PopUpM|enu(list|
|00000910| 2c 6e 6c 69 73 74 2c 20 | 76 2c 20 68 29 0d 69 66 |,nlist, |v, h).if|
|00000920| 20 69 74 20 69 73 20 30 | 20 74 68 65 6e 0d 70 75 | it is 0| then.pu|
|00000930| 74 20 22 59 6f 75 20 6d | 75 73 74 20 68 6f 6c 64 |t "You m|ust hold|
|00000940| 20 74 68 65 20 6d 6f 75 | 73 65 20 62 75 74 74 6f | the mou|se butto|
|00000950| 6e 20 64 6f 77 6e 20 6f | 6e 20 74 68 69 73 20 62 |n down o|n this b|
|00000960| 75 74 74 6f 6e 20 74 6f | 20 73 65 65 20 74 68 65 |utton to| see the|
|00000970| 20 6d 65 6e 75 22 0d 65 | 6e 64 20 69 66 0d 72 65 | menu".e|nd if.re|
|00000980| 74 75 72 6e 20 69 74 0d | 65 6e 64 20 70 6f 70 6d |turn it.|end popm|
|00000990| 65 6e 75 0d 66 75 6e 63 | 74 69 6f 6e 20 72 65 64 |enu.func|tion red|
|000009a0| 6f 6c 69 73 74 20 6c 69 | 73 74 0d 2d 2d 69 6e 70 |olist li|st.--inp|
|000009b0| 75 74 20 6c 69 73 74 20 | 69 6e 20 66 6f 72 6d 61 |ut list |in forma|
|000009c0| 74 20 22 61 2c 62 2c 63 | 2c 64 22 0d 2d 2d 6f 75 |t "a,b,c|,d".--ou|
|000009d0| 74 70 75 74 20 6c 69 73 | 74 20 69 6e 20 66 6f 72 |tput lis|t in for|
|000009e0| 6d 61 74 20 22 61 3b 62 | 3b 63 3b 64 22 0d 2d 2d |mat "a;b|;c;d".--|
|000009f0| 20 74 68 69 73 20 6a 75 | 73 74 20 72 65 66 6f 72 | this ju|st refor|
|00000a00| 6d 61 74 73 20 74 68 65 | 20 6c 69 73 74 20 66 6f |mats the| list fo|
|00000a10| 72 20 70 6f 70 75 70 6d | 65 6e 75 20 74 6f 20 75 |r popupm|enu to u|
|00000a20| 73 65 20 22 3b 22 20 61 | 73 20 74 68 65 0d 2d 2d |se ";" a|s the.--|
|00000a30| 20 69 74 65 6d 20 73 65 | 70 65 72 61 74 6f 72 20 | item se|perator |
|00000a40| 6e 6f 74 20 22 2c 22 0d | 70 75 74 20 65 6d 70 74 |not ",".|put empt|
|00000a50| 79 20 69 6e 74 6f 20 6e | 65 77 6c 69 73 74 0d 72 |y into n|ewlist.r|
|00000a60| 65 70 65 61 74 20 77 69 | 74 68 20 78 3d 31 20 74 |epeat wi|th x=1 t|
|00000a70| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of |
|00000a80| 69 74 65 6d 73 20 69 6e | 20 6c 69 73 74 0d 70 75 |items in| list.pu|
|00000a90| 74 20 69 74 65 6d 20 78 | 20 6f 66 20 6c 69 73 74 |t item x| of list|
|00000aa0| 20 26 20 22 3b 22 20 61 | 66 74 65 72 20 6e 65 77 | & ";" a|fter new|
|00000ab0| 6c 69 73 74 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |list.end| repeat.|
|00000ac0| 72 65 74 75 72 6e 20 6e | 65 77 6c 69 73 74 0d 65 |return n|ewlist.e|
|00000ad0| 6e 64 20 72 65 64 6f 6c | 69 73 74 0d 6f 6e 20 64 |nd redol|ist.on d|
|00000ae0| 65 6c 65 74 65 46 69 65 | 6c 64 0d 2d 2d 20 74 68 |eleteFie|ld.-- th|
|00000af0| 69 73 20 70 72 6f 74 65 | 63 74 73 20 79 6f 75 20 |is prote|cts you |
|00000b00| 61 67 61 69 6e 73 74 20 | 61 63 63 69 64 65 6e 74 |against |accident|
|00000b10| 69 6c 6c 79 20 64 65 6c | 65 74 69 6e 67 20 61 20 |illy del|eting a |
|00000b20| 66 69 65 6c 64 0d 61 6e | 73 77 65 72 20 22 44 6f |field.an|swer "Do|
|00000b30| 20 79 6f 75 20 72 65 61 | 6c 6c 79 20 77 61 6e 74 | you rea|lly want|
|00000b40| 20 74 6f 20 64 65 6c 65 | 74 65 20 74 68 69 73 20 | to dele|te this |
|00000b50| 46 69 65 6c 64 3f 22 20 | 77 69 74 68 20 22 6f 6b |Field?" |with "ok|
|00000b60| 22 20 6f 72 20 22 4e 6f | 20 57 61 79 21 22 0d 69 |" or "No| Way!".i|
|00000b70| 66 20 69 74 20 69 73 20 | 6e 6f 74 20 22 6f 6b 22 |f it is |not "ok"|
|00000b80| 20 74 68 65 6e 0d 63 6c | 69 63 6b 20 61 74 20 22 | then.cl|ick at "|
|00000b90| 39 39 39 2c 39 39 39 22 | 0d 65 78 69 74 20 64 65 |999,999"|.exit de|
|00000ba0| 6c 65 74 65 66 69 65 6c | 64 0d 65 6c 73 65 0d 63 |letefiel|d.else.c|
|00000bb0| 68 65 63 6b 66 72 65 65 | 73 70 61 63 65 0d 70 61 |heckfree|space.pa|
|00000bc0| 73 73 20 64 65 6c 65 74 | 65 66 69 65 6c 64 0d 65 |ss delet|efield.e|
|00000bd0| 6e 64 20 69 66 0d 65 6e | 64 20 64 65 6c 65 74 65 |nd if.en|d delete|
|00000be0| 66 69 65 6c 64 0d 66 75 | 6e 63 74 69 6f 6e 20 6c |field.fu|nction l|
|00000bf0| 69 6e 65 63 68 6f 6f 73 | 65 6e 20 6c 6f 63 0d 2d |inechoos|en loc.-|
|00000c00| 2d 69 6e 70 75 74 20 20 | 78 2c 79 20 6c 6f 63 61 |-input |x,y loca|
|00000c10| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 6d 6f 75 73 |tion of |the mous|
|00000c20| 65 20 63 6c 69 63 6b 28 | 75 73 65 20 74 68 65 20 |e click(|use the |
|00000c30| 63 6c 69 63 6b 6c 6f 63 | 29 0d 2d 2d 20 54 68 69 |clickloc|).-- Thi|
|00000c40| 73 20 69 73 20 61 20 67 | 65 6e 65 72 61 6c 6c 79 |s is a g|enerally|
|00000c50| 20 75 73 65 66 75 6c 20 | 66 75 6e 63 74 69 6f 6e | useful |function|
|00000c60| 20 77 68 69 63 68 20 74 | 61 6b 65 73 20 74 68 65 | which t|akes the|
|00000c70| 20 63 6c 69 63 6b 6c 6f | 63 20 61 73 0d 2d 2d 20 | clicklo|c as.-- |
|00000c80| 69 6e 70 75 74 20 61 6e | 64 20 66 69 6e 64 73 20 |input an|d finds |
|00000c90| 6f 75 74 20 77 68 69 63 | 68 20 6c 69 6e 65 20 69 |out whic|h line i|
|00000ca0| 6e 20 61 20 73 63 72 6f | 6c 6c 69 6e 67 20 66 69 |n a scro|lling fi|
|00000cb0| 65 6c 64 20 77 61 73 20 | 63 6c 69 63 6b 65 64 20 |eld was |clicked |
|00000cc0| 6f 6e 0d 70 75 74 20 73 | 65 63 6f 6e 64 20 69 74 |on.put s|econd it|
|00000cd0| 65 6d 20 6f 66 20 6c 6f | 63 20 69 6e 74 6f 20 70 |em of lo|c into p|
|00000ce0| 6f 73 0d 70 75 74 20 70 | 6f 73 20 2d 20 74 68 65 |os.put p|os - the|
|00000cf0| 20 74 6f 70 20 6f 66 20 | 74 68 65 20 74 61 72 67 | top of |the targ|
|00000d00| 65 74 20 69 6e 74 6f 20 | 70 6f 73 0d 70 75 74 20 |et into |pos.put |
|00000d10| 70 6f 73 20 2b 20 74 68 | 65 20 73 63 72 6f 6c 6c |pos + th|e scroll|
|00000d20| 20 6f 66 20 74 68 65 20 | 74 61 72 67 65 74 20 69 | of the |target i|
|00000d30| 6e 74 6f 20 70 6f 73 0d | 67 65 74 20 74 68 65 20 |nto pos.|get the |
|00000d40| 74 65 78 74 73 69 7a 65 | 20 6f 66 20 74 68 65 20 |textsize| of the |
|00000d50| 74 61 72 67 65 74 0d 70 | 75 74 20 69 74 2b 74 72 |target.p|ut it+tr|
|00000d60| 75 6e 63 28 69 74 2f 33 | 29 20 69 6e 74 6f 20 73 |unc(it/3|) into s|
|00000d70| 69 7a 65 0d 70 75 74 20 | 74 72 75 6e 63 28 70 6f |ize.put |trunc(po|
|00000d80| 73 2f 73 69 7a 65 29 2b | 31 20 69 6e 74 6f 20 6c |s/size)+|1 into l|
|00000d90| 69 6e 65 68 69 74 0d 72 | 65 74 75 72 6e 20 6c 69 |inehit.r|eturn li|
|00000da0| 6e 65 68 69 74 0d 65 6e | 64 20 6c 69 6e 65 63 68 |nehit.en|d linech|
|00000db0| 6f 6f 73 65 6e 0d 6f 6e | 20 63 68 65 63 6b 66 72 |oosen.on| checkfr|
|00000dc0| 65 65 73 70 61 63 65 0d | 2d 2d 20 54 68 69 73 20 |eespace.|-- This |
|00000dd0| 63 68 65 63 6b 73 20 6f | 6e 20 74 68 65 20 61 6d |checks o|n the am|
|00000de0| 6f 75 6e 74 20 6f 66 20 | 67 61 72 62 61 67 65 20 |ount of |garbage |
|00000df0| 6e 65 65 64 69 6e 67 20 | 63 6f 6c 6c 65 63 74 69 |needing |collecti|
|00000e00| 6e 67 0d 67 65 74 20 74 | 68 65 20 66 72 65 65 73 |ng.get t|he frees|
|00000e10| 69 7a 65 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ize of t|his stac|
|00000e20| 6b 0d 69 66 20 69 74 20 | 3e 20 31 35 30 30 30 20 |k.if it |> 15000 |
|00000e30| 74 68 65 6e 0d 70 75 74 | 20 22 50 6c 65 61 73 65 |then.put| "Please|
|00000e40| 20 77 61 69 74 2c 49 27 | 6d 20 64 6f 69 6e 67 20 | wait,I'|m doing |
|00000e50| 73 6f 6d 65 20 67 61 72 | 62 61 67 65 20 63 6f 6c |some gar|bage col|
|00000e60| 6c 65 63 74 69 6f 6e 22 | 20 69 6e 74 6f 20 6d 65 |lection"| into me|
|00000e70| 73 73 61 67 65 0d 64 6f | 6d 65 6e 75 20 22 63 6f |ssage.do|menu "co|
|00000e80| 6d 70 61 63 74 20 73 74 | 61 63 6b 22 0d 68 69 64 |mpact st|ack".hid|
|00000e90| 65 20 6d 65 73 73 61 67 | 65 0d 65 6e 64 20 69 66 |e messag|e.end if|
|00000ea0| 0d 65 6e 64 20 63 68 65 | 63 6b 66 72 65 65 73 70 |.end che|ckfreesp|
|00000eb0| 61 63 65 0d 00 65 78 74 | 73 69 7a 65 20 6f 66 20 |ace..ext|size of |
|00000ec0| 74 68 65 20 74 61 72 67 | 65 74 0d 70 75 74 20 69 |the targ|et.put i|
|00000ed0| 74 2b 74 72 75 6e 63 28 | 69 74 2f 33 29 20 69 6e |t+trunc(|it/3) in|
|00000ee0| 74 6f 20 73 69 7a 65 0d | 70 75 74 20 74 72 75 6e |to size.|put trun|
|00000ef0| 63 28 70 6f 73 2f 73 69 | 7a 65 29 2b 31 20 69 6e |c(pos/si|ze)+1 in|
|00000f00| 74 6f 20 6c 69 6e 65 68 | 69 74 0d 72 65 74 75 72 |to lineh|it.retur|
|00000f10| 6e 20 6c 69 6e 65 68 69 | 74 0d 65 6e 64 20 6c 69 |n linehi|t.end li|
|00000f20| 6e 65 63 68 6f 6f 73 65 | 6e 0d 6f 6e 20 63 68 65 |nechoose|n.on che|
|00000f30| 63 6b 66 72 65 65 73 70 | 61 63 65 0d 2d 2d 20 54 |ckfreesp|ace.-- T|
|00000f40| 68 69 73 20 63 68 65 63 | 6b 73 20 6f 6e 20 74 68 |his chec|ks on th|
|00000f50| 65 20 61 6d 6f 75 6e 74 | 20 6f 66 20 67 61 72 62 |e amount| of garb|
|00000f60| 61 67 65 20 6e 65 65 64 | 69 6e 67 20 63 6f 6c 6c |age need|ing coll|
|00000f70| 65 63 74 69 6e 67 0d 67 | 65 74 20 74 68 65 20 66 |ecting.g|et the f|
|00000f80| 72 65 65 73 69 7a 65 20 | 6f 66 20 74 68 69 73 20 |reesize |of this |
|00000f90| 73 74 61 63 6b 0d 69 66 | 20 69 74 20 3e 20 31 35 |stack.if| it > 15|
|00000fa0| 30 30 30 20 74 68 65 6e | 0d 70 75 74 20 22 50 6c |000 then|.put "Pl|
|00000fb0| 65 61 73 65 20 77 61 69 | 74 2c 49 27 6d 20 64 6f |ease wai|t,I'm do|
|00000fc0| 69 6e 67 20 73 6f 6d 65 | 20 67 61 72 62 61 67 65 |ing some| garbage|
|00000fd0| 20 63 6f 6c 6c 65 63 74 | 69 6f 6e 22 20 69 6e 74 | collect|ion" int|
|00000fe0| 6f 20 6d 65 73 73 61 67 | 65 0d 64 6f 6d 65 6e 75 |o messag|e.domenu|
|00000ff0| 20 22 63 6f 6d 70 61 63 | 74 20 73 74 61 63 6b 22 | "compac|t stack"|
|00001000| 0d 68 69 64 65 20 6d 65 | 73 73 61 67 65 0d 65 6e |.hide me|ssage.en|
|00001010| 64 20 69 66 0d 65 6e 64 | 20 63 68 65 63 6b 66 72 |d if.end| checkfr|
|00001020| 65 65 73 70 61 63 65 0d | 00 2d 2d 20 64 6f 6e 27 |eespace.|.-- don'|
|00001030| 74 20 68 61 76 65 20 74 | 6f 20 63 68 61 6e 67 65 |t have t|o change|
|00001040| 20 61 6e 79 20 73 63 72 | 69 70 74 73 20 69 66 20 | any scr|ipts if |
|00001050| 79 6f 75 20 63 68 61 6e | 67 65 20 74 68 65 20 6e |you chan|ge the n|
|00001060| 75 6d 62 65 72 20 6f 72 | 20 6f 72 64 65 72 0d 2d |umber or| order.-|
|00001070| 2d 20 6f 66 20 69 6e 73 | 74 61 6e 63 65 20 76 61 |- of ins|tance va|
|00001080| 72 69 61 62 6c 65 73 20 | 69 6e 20 61 20 63 6c 61 |riables |in a cla|
|00001090| 73 73 0d 70 75 74 20 67 | 65 74 69 6e 73 74 61 6e |ss.put g|etinstan|
|000010a0| 63 65 6c 69 73 74 28 63 | 6c 61 73 73 6e 61 6d 65 |celist(c|lassname|
|000010b0| 2c 30 29 20 69 6e 74 6f | 20 74 65 6d 70 0d 70 75 |,0) into| temp.pu|
|000010c0| 74 20 66 69 6e 64 69 6e | 73 74 61 6e 63 65 6e 75 |t findin|stancenu|
|000010d0| 6d 28 69 6e 73 74 61 6e | 63 65 76 61 72 6e 61 6d |m(instan|cevarnam|
|000010e0| 65 2c 74 65 6d 70 29 20 | 69 6e 74 6f 20 74 65 6d |e,temp) |into tem|
|000010f0| 70 6e 75 6d 0d 70 75 74 | 20 74 68 65 20 73 68 6f |pnum.put| the sho|
|00001100| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 65 20 74 |rt name |of the t|
|00001110| 61 72 67 65 74 20 69 6e | 74 6f 20 66 69 65 6c 64 |arget in|to field|
|00001120| 6e 61 6d 65 0d 70 75 74 | 20 76 61 6c 75 65 20 69 |name.put| value i|
|00001130| 6e 74 6f 20 6c 69 6e 65 | 20 28 74 65 6d 70 6e 75 |nto line| (tempnu|
|00001140| 6d 2b 32 29 20 6f 66 20 | 63 61 72 64 20 66 69 65 |m+2) of |card fie|
|00001150| 6c 64 20 66 69 65 6c 64 | 6e 61 6d 65 0d 65 6e 64 |ld field|name.end|
|00001160| 20 73 65 74 69 6e 73 74 | 61 6e 63 65 76 61 6c 0d | setinst|anceval.|
|00001170| 66 75 6e 63 74 69 6f 6e | 20 66 69 6e 64 69 6e 73 |function| findins|
|00001180| 74 61 6e 63 65 6e 75 6d | 20 69 6e 73 74 61 6e 63 |tancenum| instanc|
|00001190| 65 76 61 72 6e 61 6d 65 | 2c 6c 69 73 74 0d 2d 2d |evarname|,list.--|
|000011a0| 69 6e 70 75 74 3a 20 69 | 6e 73 74 61 6e 63 65 20 |input: i|nstance |
|000011b0| 76 61 72 69 61 62 6c 65 | 20 6e 61 6d 65 2c 6c 69 |variable| name,li|
|000011c0| 73 74 20 6f 66 20 69 6e | 73 74 61 6e 63 65 20 76 |st of in|stance v|
|000011d0| 61 72 69 61 62 6c 65 73 | 20 69 6e 20 63 6c 61 73 |ariables| in clas|
|000011e0| 73 0d 2d 2d 6f 75 74 70 | 75 74 3a 20 73 65 71 75 |s.--outp|ut: sequ|
|000011f0| 65 6e 63 65 20 6e 75 6d | 62 65 72 20 6f 66 20 74 |ence num|ber of t|
|00001200| 68 69 73 20 69 6e 73 74 | 61 6e 63 65 20 76 61 72 |his inst|ance var|
|00001210| 69 61 62 6c 65 20 69 6e | 20 74 68 65 20 6c 69 73 |iable in| the lis|
|00001220| 74 0d 2d 2d 65 72 72 6f | 72 3a 20 20 72 65 74 75 |t.--erro|r: retu|
|00001230| 72 6e 73 20 3c 20 2d 31 | 20 69 66 20 6e 61 6d 65 |rns < -1| if name|
|00001240| 20 6e 6f 74 20 66 6f 75 | 6e 64 0d 2d 2d 20 67 69 | not fou|nd.-- gi|
|00001250| 76 65 6e 20 61 6e 20 69 | 6e 73 74 61 6e 63 65 20 |ven an i|nstance |
|00001260| 76 61 72 69 61 62 6c 65 | 20 6e 61 6d 65 20 69 74 |variable| name it|
|00001270| 20 61 6e 64 20 61 20 6c | 69 73 74 20 6f 66 20 69 | and a l|ist of i|
|00001280| 6e 73 74 61 6e 63 65 20 | 6e 61 6d 65 73 0d 2d 2d |nstance |names.--|
|00001290| 20 74 68 69 73 20 72 65 | 74 75 72 6e 73 20 74 68 | this re|turns th|
|000012a0| 65 20 69 74 65 6d 20 6e | 75 6d 62 65 72 20 6f 66 |e item n|umber of|
|000012b0| 20 74 68 65 20 69 6e 73 | 74 61 6e 63 65 20 6e 61 | the ins|tance na|
|000012c0| 6d 65 0d 70 75 74 20 2d | 31 20 69 6e 74 6f 20 68 |me.put -|1 into h|
|000012d0| 69 74 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 78 |it.repea|t with x|
|000012e0| 3d 31 20 74 6f 20 74 68 | 65 20 6e 75 6d 62 65 72 |=1 to th|e number|
|000012f0| 20 6f 66 20 69 74 65 6d | 73 20 69 6e 20 6c 69 73 | of item|s in lis|
|00001300| 74 0d 69 66 20 69 74 65 | 6d 20 78 20 6f 66 20 6c |t.if ite|m x of l|
|00001310| 69 73 74 20 69 73 20 69 | 6e 73 74 61 6e 63 65 76 |ist is i|nstancev|
|00001320| 61 72 6e 61 6d 65 20 74 | 68 65 6e 0d 72 65 74 75 |arname t|hen.retu|
|00001330| 72 6e 20 78 0d 70 75 74 | 20 30 20 69 6e 74 6f 20 |rn x.put| 0 into |
|00001340| 68 69 74 0d 65 78 69 74 | 20 72 65 70 65 61 74 0d |hit.exit| repeat.|
|00001350| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|00001360| 74 0d 69 66 20 68 69 74 | 20 3c 20 30 20 74 68 65 |t.if hit| < 0 the|
|00001370| 6e 0d 2d 2d 70 75 74 20 | 22 45 72 72 6f 72 3a 66 |n.--put |"Error:f|
|00001380| 69 6e 64 69 6e 73 74 61 | 63 65 6e 75 6d 3a 20 49 |indinsta|cenum: I|
|00001390| 6e 73 74 61 6e 63 65 20 | 4e 61 6d 65 20 6e 6f 74 |nstance |Name not|
|000013a0| 20 66 6f 75 6e 64 22 0d | 65 6e 64 20 69 66 0d 72 | found".|end if.r|
|000013b0| 65 74 75 72 6e 20 2d 31 | 0d 65 6e 64 20 66 69 6e |eturn -1|.end fin|
|000013c0| 64 69 6e 73 74 61 6e 63 | 65 6e 75 6d 0d 66 75 6e |dinstanc|enum.fun|
|000013d0| 63 74 69 6f 6e 20 72 65 | 64 6f 6c 69 73 74 20 6c |ction re|dolist l|
|000013e0| 69 73 74 0d 2d 2d 69 6e | 70 75 74 20 6c 69 73 74 |ist.--in|put list|
|000013f0| 20 69 6e 20 66 6f 72 6d | 61 74 20 22 61 2c 62 2c | in form|at "a,b,|
|00001400| 63 2c 64 22 0d 2d 2d 6f | 75 74 70 75 74 20 6c 69 |c,d".--o|utput li|
|00001410| 73 74 20 69 6e 20 66 6f | 72 6d 61 74 20 22 61 3b |st in fo|rmat "a;|
|00001420| 62 3b 63 3b 64 22 0d 2d | 2d 20 74 68 69 73 20 6a |b;c;d".-|- this j|
|00001430| 75 73 74 20 72 65 66 6f | 72 6d 61 74 73 20 74 68 |ust refo|rmats th|
|00001440| 65 20 6c 69 73 74 20 66 | 6f 72 20 70 6f 70 75 70 |e list f|or popup|
|00001450| 6d 65 6e 75 20 74 6f 20 | 75 73 65 20 22 3b 22 20 |menu to |use ";" |
|00001460| 61 73 20 74 68 65 0d 2d | 2d 20 69 74 65 6d 20 73 |as the.-|- item s|
|00001470| 65 70 65 72 61 74 6f 72 | 20 6e 6f 74 20 22 2c 22 |eperator| not ","|
|00001480| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00001490| 6e 65 77 6c 69 73 74 0d | 72 65 70 65 61 74 20 77 |newlist.|repeat w|
|000014a0| 69 74 68 20 78 3d 31 20 | 74 6f 20 74 68 65 20 6e |ith x=1 |to the n|
|000014b0| 75 6d 62 65 72 20 6f 66 | 20 69 74 65 6d 73 20 69 |umber of| items i|
|000014c0| 6e 20 6c 69 73 74 0d 70 | 75 74 20 69 74 65 6d 20 |n list.p|ut item |
|000014d0| 78 20 6f 66 20 6c 69 73 | 74 20 26 20 22 3b 22 20 |x of lis|t & ";" |
|000014e0| 61 66 74 65 72 20 6e 65 | 77 6c 69 73 74 0d 65 6e |after ne|wlist.en|
|000014f0| 64 20 72 65 70 65 61 74 | 0d 72 65 74 75 72 6e 20 |d repeat|.return |
|00001500| 6e 65 77 6c 69 73 74 0d | 65 6e 64 20 72 65 64 6f |newlist.|end redo|
|00001510| 6c 69 73 74 0d 66 75 6e | 63 74 69 6f 6e 20 63 6c |list.fun|ction cl|
|00001520| 61 73 73 20 6f 62 6a 65 | 63 74 6e 61 6d 65 0d 2d |ass obje|ctname.-|
|00001530| 2d 69 6e 70 75 74 20 20 | 6e 61 6d 65 20 6f 66 20 |-input |name of |
|00001540| 61 20 63 61 72 64 20 66 | 69 65 6c 64 0d 2d 2d 6f |a card f|ield.--o|
|00001550| 75 74 70 75 74 20 63 6c | 61 73 73 20 6f 66 20 74 |utput cl|ass of t|
|00001560| 68 65 20 63 61 72 64 20 | 66 69 65 6c 64 0d 2d 2d |he card |field.--|
|00001570| 20 74 68 69 73 20 72 65 | 74 75 72 6e 73 20 74 68 | this re|turns th|
|00001580| 65 20 63 6c 61 73 73 20 | 6f 66 20 61 6e 20 6f 62 |e class |of an ob|
|00001590| 6a 65 63 74 0d 72 65 74 | 75 72 6e 20 6c 69 6e 65 |ject.ret|urn line|
|000015a0| 20 32 20 6f 66 20 63 61 | 72 64 20 66 69 65 6c 64 | 2 of ca|rd field|
|000015b0| 20 28 6f 62 6a 65 63 74 | 6e 61 6d 65 29 0d 65 6e | (object|name).en|
|000015c0| 64 20 63 6c 61 73 73 0d | 0d 6f 6e 20 75 70 64 61 |d class.|.on upda|
|000015d0| 74 65 63 6c 61 73 73 6c | 69 73 74 0d 2d 2d 6f 75 |teclassl|ist.--ou|
|000015e0| 74 70 75 74 20 75 70 64 | 61 74 65 73 20 67 6c 6f |tput upd|ates glo|
|000015f0| 62 61 6c 20 76 61 72 69 | 61 62 6c 65 20 63 6c 61 |bal vari|able cla|
|00001600| 73 73 6e 61 6d 65 73 0d | 2d 2d 20 74 68 69 73 20 |ssnames.|-- this |
|00001610| 75 70 64 61 74 65 73 20 | 74 68 65 20 63 6c 61 73 |updates |the clas|
|00001620| 73 20 6c 69 73 74 20 62 | 79 20 72 65 61 64 69 6e |s list b|y readin|
|00001630| 67 20 74 68 65 20 63 6c | 61 73 73 20 63 61 72 64 |g the cl|ass card|
|00001640| 73 0d 67 6c 6f 62 61 6c | 20 63 6c 61 73 73 6e 61 |s.global| classna|
|00001650| 6d 65 73 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |mes.put |empty in|
|00001660| 74 6f 20 63 6c 61 73 73 | 6e 61 6d 65 73 0d 72 65 |to class|names.re|
|00001670| 70 65 61 74 20 77 69 74 | 68 20 69 3d 31 20 74 6f |peat wit|h i=1 to|
|00001680| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 63 | the num|ber of c|
|00001690| 61 72 64 73 20 69 6e 20 | 62 6b 67 6e 64 20 22 63 |ards in |bkgnd "c|
|000016a0| 6c 61 73 73 20 64 65 66 | 69 6e 69 74 69 6f 6e 73 |lass def|initions|
|000016b0| 22 0d 67 65 74 20 74 68 | 65 20 6e 61 6d 65 20 6f |".get th|e name o|
|000016c0| 66 20 63 61 72 64 20 69 | 20 6f 66 20 62 6b 67 6e |f card i| of bkgn|
|000016d0| 64 20 22 63 6c 61 73 73 | 20 64 65 66 69 6e 69 74 |d "class| definit|
|000016e0| 69 6f 6e 73 22 0d 69 66 | 20 69 74 20 69 73 20 6e |ions".if| it is n|
|000016f0| 6f 74 20 22 65 64 69 74 | 20 63 6c 61 73 73 20 63 |ot "edit| class c|
|00001700| 61 72 64 22 20 74 68 65 | 6e 0d 70 75 74 20 62 6b |ard" the|n.put bk|
|00001710| 67 6e 64 20 66 69 65 6c | 64 20 22 63 6c 61 73 73 |gnd fiel|d "class|
|00001720| 20 6e 61 6d 65 22 20 6f | 66 20 63 61 72 64 20 69 | name" o|f card i|
|00001730| 20 6f 66 20 62 6b 67 6e | 64 20 22 63 6c 61 73 73 | of bkgn|d "class|
|00001740| 20 64 65 66 69 6e 69 74 | 69 6f 6e 73 22 c2 0d 69 | definit|ions"..i|
|00001750| 6e 74 6f 20 69 74 65 6d | 20 69 2d 31 20 6f 66 20 |nto item| i-1 of |
|00001760| 63 6c 61 73 73 6e 61 6d | 65 73 0d 65 6e 64 20 69 |classnam|es.end i|
|00001770| 66 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 65 6e 64 |f.end re|peat.end|
|00001780| 20 75 70 64 61 74 65 63 | 6c 61 73 73 6c 69 73 74 | updatec|lasslist|
|00001790| 0d 6f 6e 20 6f 70 65 6e | 73 74 61 63 6b 0d 2d 2d |.on open|stack.--|
|000017a0| 20 73 65 74 20 75 70 20 | 74 68 65 20 63 6c 61 73 | set up |the clas|
|000017b0| 73 20 6c 69 73 74 20 61 | 74 20 73 74 61 72 74 75 |s list a|t startu|
|000017c0| 70 0d 73 65 74 20 74 68 | 65 20 63 75 72 73 6f 72 |p.set th|e cursor|
|000017d0| 20 74 6f 20 77 61 74 63 | 68 0d 75 70 64 61 74 65 | to watc|h.update|
|000017e0| 63 6c 61 73 73 6c 69 73 | 74 0d 65 6e 64 20 6f 70 |classlis|t.end op|
|000017f0| 65 6e 73 74 61 63 6b 0d | 6f 6e 20 64 65 6c 65 74 |enstack.|on delet|
|00001800| 65 46 69 65 6c 64 0d 2d | 2d 20 74 68 69 73 20 70 |eField.-|- this p|
|00001810| 72 6f 74 65 63 74 73 20 | 79 6f 75 20 61 67 61 69 |rotects |you agai|
|00001820| 6e 73 74 20 61 63 63 69 | 64 65 6e 74 69 6c 6c 79 |nst acci|dentilly|
|00001830| 20 64 65 6c 65 74 69 6e | 67 20 61 20 66 69 65 6c | deletin|g a fiel|
|00001840| 64 0d 61 6e 73 77 65 72 | 20 22 44 6f 20 79 6f 75 |d.answer| "Do you|
|00001850| 20 72 65 61 6c 6c 79 20 | 77 61 6e 74 20 74 6f 20 | really |want to |
|00001860| 64 65 6c 65 74 65 20 74 | 68 69 73 20 46 69 65 6c |delete t|his Fiel|
|00001870| 64 3f 22 20 77 69 74 68 | 20 22 6f 6b 22 20 6f 72 |d?" with| "ok" or|
|00001880| 20 22 4e 6f 20 57 61 79 | 21 22 0d 69 66 20 69 74 | "No Way|!".if it|
|00001890| 20 69 73 20 6e 6f 74 20 | 22 6f 6b 22 20 74 68 65 | is not |"ok" the|
|000018a0| 6e 0d 63 6c 69 63 6b 20 | 61 74 20 22 39 39 39 2c |n.click |at "999,|
|000018b0| 39 39 39 22 0d 65 78 69 | 74 20 64 65 6c 65 74 65 |999".exi|t delete|
|000018c0| 66 69 65 6c 64 0d 65 6c | 73 65 0d 63 68 65 63 6b |field.el|se.check|
|000018d0| 66 72 65 65 73 70 61 63 | 65 0d 70 61 73 73 20 64 |freespac|e.pass d|
|000018e0| 65 6c 65 74 65 66 69 65 | 6c 64 0d 65 6e 64 20 69 |eletefie|ld.end i|
|000018f0| 66 0d 65 6e 64 20 64 65 | 6c 65 74 65 66 69 65 6c |f.end de|letefiel|
|00001900| 64 0d 66 75 6e 63 74 69 | 6f 6e 20 63 6c 61 73 73 |d.functi|on class|
|00001910| 6e 75 6d 62 65 72 20 63 | 6c 61 73 73 6e 61 6d 65 |number c|lassname|
|00001920| 0d 2d 2d 69 6e 70 75 74 | 20 6e 61 6d 65 20 6f 66 |.--input| name of|
|00001930| 20 61 20 63 6c 61 73 73 | 0d 2d 2d 20 74 68 69 73 | a class|.-- this|
|00001940| 20 72 65 74 75 72 6e 73 | 20 74 68 65 20 69 74 65 | returns| the ite|
|00001950| 6d 20 6e 75 6d 62 65 72 | 20 6f 66 20 74 68 65 20 |m number| of the |
|00001960| 61 72 67 75 6d 65 6e 74 | 20 69 6e 20 74 68 65 20 |argument| in the |
|00001970| 63 6c 61 73 73 20 6c 69 | 73 74 0d 67 6c 6f 62 61 |class li|st.globa|
|00001980| 6c 20 63 6c 61 73 73 6e | 61 6d 65 73 0d 70 75 74 |l classn|ames.put|
|00001990| 20 2d 31 20 69 6e 74 6f | 20 63 6c 61 73 73 6e 75 | -1 into| classnu|
|000019a0| 6d 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 3d |m.repeat| with i=|
|000019b0| 31 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |1 to the| number |
|000019c0| 6f 66 20 69 74 65 6d 73 | 20 69 6e 20 63 6c 61 73 |of items| in clas|
|000019d0| 73 6e 61 6d 65 73 0d 69 | 66 20 63 6c 61 73 73 6e |snames.i|f classn|
|000019e0| 61 6d 65 20 69 73 20 69 | 74 65 6d 20 69 20 6f 66 |ame is i|tem i of|
|000019f0| 20 63 6c 61 73 73 6e 61 | 6d 65 73 20 74 68 65 6e | classna|mes then|
|00001a00| 0d 70 75 74 20 69 20 69 | 6e 74 6f 20 63 6c 61 73 |.put i i|nto clas|
|00001a10| 73 6e 75 6d 0d 65 78 69 | 74 20 72 65 70 65 61 74 |snum.exi|t repeat|
|00001a20| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 72 65 70 65 |.end if.|end repe|
|00001a30| 61 74 0d 72 65 74 75 72 | 6e 20 63 6c 61 73 73 6e |at.retur|n classn|
|00001a40| 75 6d 0d 65 6e 64 20 63 | 6c 61 73 73 6e 75 6d 62 |um.end c|lassnumb|
|00001a50| 65 72 0d 66 75 6e 63 74 | 69 6f 6e 20 67 65 74 69 |er.funct|ion geti|
|00001a60| 6e 73 74 61 6e 63 65 6c | 69 73 74 20 63 6c 61 73 |nstancel|ist clas|
|00001a70| 73 6e 61 6d 65 2c 63 6c | 61 73 73 6e 75 6d 0d 2d |sname,cl|assnum.-|
|00001a80| 2d 69 6e 70 75 74 20 6e | 61 6d 65 20 6f 66 20 61 |-input n|ame of a|
|00001a90| 20 63 6c 61 73 73 2c 6e | 75 6d 62 65 72 20 6f 66 | class,n|umber of|
|00001aa0| 20 74 68 65 20 73 61 6d | 65 20 63 6c 61 73 73 0d | the sam|e class.|
|00001ab0| 2d 2d 20 20 20 20 20 20 | 79 6f 75 20 6f 6e 6c 79 |-- |you only|
|00001ac0| 20 6e 65 65 64 20 73 75 | 70 70 6c 79 20 74 68 65 | need su|pply the|
|00001ad0| 20 63 6f 72 72 65 63 74 | 20 76 61 6c 75 65 20 66 | correct| value f|
|00001ae0| 6f 72 20 6f 6e 65 20 62 | 75 74 20 79 6f 75 20 6e |or one b|ut you n|
|00001af0| 65 65 64 0d 2d 2d 20 20 | 20 20 20 20 61 20 70 6c |eed.-- | a pl|
|00001b00| 61 63 65 20 68 6f 6c 64 | 65 72 20 66 6f 72 20 74 |ace hold|er for t|
|00001b10| 68 65 20 6f 74 68 65 72 | 20 28 22 64 6f 67 22 2c |he other| ("dog",|
|00001b20| 30 20 6f 72 20 22 22 2c | 34 29 0d 2d 2d 20 74 68 |0 or "",|4).-- th|
|00001b30| 69 73 20 72 65 74 75 72 | 6e 73 20 74 68 65 20 69 |is retur|ns the i|
|00001b40| 6e 73 74 61 6e 63 65 20 | 6c 69 73 74 20 66 6f 72 |nstance |list for|
|00001b50| 20 61 20 67 69 76 65 6e | 20 63 6c 61 73 73 6e 61 | a given| classna|
|00001b60| 6d 65 20 6f 72 20 63 6c | 61 73 73 0d 2d 2d 20 6e |me or cl|ass.-- n|
|00001b70| 75 6d 62 65 72 28 74 68 | 65 20 6e 75 6d 62 65 72 |umber(th|e number|
|00001b80| 20 6f 66 20 61 20 63 6c | 61 73 73 20 69 73 20 69 | of a cl|ass is i|
|00001b90| 74 73 20 69 74 65 6d 20 | 6e 75 6d 62 65 72 20 69 |ts item |number i|
|00001ba0| 6e 20 74 68 65 20 63 6c | 61 73 73 0d 2d 2d 20 6c |n the cl|ass.-- l|
|00001bb0| 69 73 74 29 20 20 54 68 | 65 20 69 74 65 6d 20 6e |ist) Th|e item n|
|00001bc0| 75 6d 62 65 72 20 69 6e | 20 74 68 65 20 69 6e 73 |umber in| the ins|
|00001bd0| 74 61 6e 63 65 20 6c 69 | 73 74 20 69 73 20 32 20 |tance li|st is 2 |
|00001be0| 6c 65 73 73 20 74 68 61 | 6e 20 74 68 65 0d 2d 2d |less tha|n the.--|
|00001bf0| 20 6c 69 6e 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 | line nu|mber of |
|00001c00| 74 68 65 20 69 6e 73 74 | 61 6e 63 65 20 76 61 72 |the inst|ance var|
|00001c10| 69 61 62 6c 65 20 69 6e | 20 74 68 65 20 66 69 65 |iable in| the fie|
|00001c20| 6c 64 0d 67 6c 6f 62 61 | 6c 20 63 6c 61 73 73 6e |ld.globa|l classn|
|00001c30| 61 6d 65 73 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |ames.put| empty i|
|00001c40| 6e 74 6f 20 69 6e 73 74 | 61 6e 63 65 6c 69 73 74 |nto inst|ancelist|
|00001c50| 0d 69 66 20 63 6c 61 73 | 73 6e 61 6d 65 20 69 73 |.if clas|sname is|
|00001c60| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 70 75 74 20 | empty t|hen.put |
|00001c70| 69 74 65 6d 20 63 6c 61 | 73 73 6e 75 6d 20 6f 66 |item cla|ssnum of|
|00001c80| 20 63 6c 61 73 73 6e 61 | 6d 65 73 20 69 6e 74 6f | classna|mes into|
|00001c90| 20 63 6c 61 73 73 6e 61 | 6d 65 0d 65 6e 64 20 69 | classna|me.end i|
|00001ca0| 66 0d 70 75 74 20 62 6b | 67 6e 64 20 66 69 65 6c |f.put bk|gnd fiel|
|00001cb0| 64 20 22 69 6e 73 74 61 | 6e 63 65 20 6e 61 6d 65 |d "insta|nce name|
|00001cc0| 73 22 20 6f 66 20 63 61 | 72 64 20 63 6c 61 73 73 |s" of ca|rd class|
|00001cd0| 6e 61 6d 65 20 69 6e 74 | 6f 20 74 65 6d 70 0d 70 |name int|o temp.p|
|00001ce0| 75 74 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |ut the n|umber of|
|00001cf0| 20 6c 69 6e 65 73 20 69 | 6e 20 74 65 6d 70 20 69 | lines i|n temp i|
|00001d00| 6e 74 6f 20 74 65 6d 70 | 6e 75 6d 0d 72 65 70 65 |nto temp|num.repe|
|00001d10| 61 74 20 77 69 74 68 20 | 69 3d 31 20 74 6f 20 74 |at with |i=1 to t|
|00001d20| 65 6d 70 6e 75 6d 0d 70 | 75 74 20 69 74 65 6d 20 |empnum.p|ut item |
|00001d30| 31 20 6f 66 20 6c 69 6e | 65 20 69 20 6f 66 20 74 |1 of lin|e i of t|
|00001d40| 65 6d 70 20 69 6e 74 6f | 20 69 74 65 6d 20 69 20 |emp into| item i |
|00001d50| 6f 66 20 69 6e 73 74 61 | 6e 63 65 6c 69 73 74 0d |of insta|ncelist.|
|00001d60| 65 6e 64 20 72 65 70 65 | 61 74 0d 70 75 74 20 62 |end repe|at.put b|
|00001d70| 6b 67 6e 64 20 66 69 65 | 6c 64 20 22 69 6e 68 65 |kgnd fie|ld "inhe|
|00001d80| 72 69 74 65 64 20 69 6e | 73 74 61 6e 63 65 22 20 |rited in|stance" |
|00001d90| 6f 66 20 63 61 72 64 20 | 63 6c 61 73 73 6e 61 6d |of card |classnam|
|00001da0| 65 20 69 6e 74 6f 20 74 | 65 6d 70 0d 72 65 70 65 |e into t|emp.repe|
|00001db0| 61 74 20 77 69 74 68 20 | 69 3d 31 20 74 6f 20 74 |at with |i=1 to t|
|00001dc0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |he numbe|r of lin|
|00001dd0| 65 73 20 69 6e 20 74 65 | 6d 70 0d 70 75 74 20 69 |es in te|mp.put i|
|00001de0| 74 65 6d 20 31 20 6f 66 | 20 6c 69 6e 65 20 69 20 |tem 1 of| line i |
|00001df0| 6f 66 20 74 65 6d 70 20 | 69 6e 74 6f 20 69 74 65 |of temp |into ite|
|00001e00| 6d 20 28 74 65 6d 70 6e | 75 6d 2b 69 29 20 6f 66 |m (tempn|um+i) of|
|00001e10| 20 69 6e 73 74 61 6e 63 | 65 6c 69 73 74 0d 65 6e | instanc|elist.en|
|00001e20| 64 20 72 65 70 65 61 74 | 0d 72 65 74 75 72 6e 20 |d repeat|.return |
|00001e30| 69 6e 73 74 61 6e 63 65 | 6c 69 73 74 0d 65 6e 64 |instance|list.end|
|00001e40| 20 67 65 74 69 6e 73 74 | 61 6e 63 65 6c 69 73 74 | getinst|ancelist|
|00001e50| 0d 66 75 6e 63 74 69 6f | 6e 20 67 65 74 69 6e 73 |.functio|n getins|
|00001e60| 74 61 6e 63 65 6c 69 73 | 74 64 65 66 61 75 6c 74 |tancelis|tdefault|
|00001e70| 73 20 63 6c 61 73 73 6e | 61 6d 65 2c 63 6c 61 73 |s classn|ame,clas|
|00001e80| 73 6e 75 6d 0d 2d 2d 69 | 6e 70 75 74 20 6e 61 6d |snum.--i|nput nam|
|00001e90| 65 20 6f 66 20 61 20 63 | 6c 61 73 73 2c 6e 75 6d |e of a c|lass,num|
|00001ea0| 62 65 72 20 6f 66 20 74 | 68 65 20 73 61 6d 65 20 |ber of t|he same |
|00001eb0| 63 6c 61 73 73 0d 2d 2d | 20 20 20 20 20 20 79 6f |class.--| yo|
|00001ec0| 75 20 6f 6e 6c 79 20 6e | 65 65 64 20 73 75 70 70 |u only n|eed supp|
|00001ed0| 6c 79 20 74 68 65 20 63 | 6f 72 72 65 63 74 20 76 |ly the c|orrect v|
|00001ee0| 61 6c 75 65 20 66 6f 72 | 20 6f 6e 65 20 62 75 74 |alue for| one but|
|00001ef0| 20 79 6f 75 20 6e 65 65 | 64 0d 2d 2d 20 20 20 20 | you nee|d.-- |
|00001f00| 20 20 61 20 70 6c 61 63 | 65 20 68 6f 6c 64 65 72 | a plac|e holder|
|00001f10| 20 66 6f 72 20 74 68 65 | 20 6f 74 68 65 72 20 28 | for the| other (|
|00001f20| 22 64 6f 67 22 2c 30 20 | 6f 72 20 22 22 2c 34 29 |"dog",0 |or "",4)|
|00001f30| 0d 0d 2d 2d 20 74 68 69 | 73 20 72 65 74 75 72 6e |..-- thi|s return|
|00001f40| 73 20 74 68 65 20 69 6e | 73 74 61 6e 63 65 20 6c |s the in|stance l|
|00001f50| 69 73 74 20 77 69 74 68 | 20 74 68 65 20 64 65 66 |ist with| the def|
|00001f60| 61 75 6c 74 20 76 61 6c | 75 65 73 20 61 73 20 74 |ault val|ues as t|
|00001f70| 68 65 0d 2d 2d 20 73 65 | 63 6f 6e 64 20 69 74 65 |he.-- se|cond ite|
|00001f80| 6d 20 69 6e 20 65 61 63 | 68 20 6c 69 6e 65 0d 67 |m in eac|h line.g|
|00001f90| 6c 6f 62 61 6c 20 63 6c | 61 73 73 6e 61 6d 65 73 |lobal cl|assnames|
|00001fa0| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00001fb0| 69 6e 73 74 61 6e 63 65 | 6c 69 73 74 0d 69 66 20 |instance|list.if |
|00001fc0| 63 6c 61 73 73 6e 61 6d | 65 20 69 73 20 65 6d 70 |classnam|e is emp|
|00001fd0| 74 79 20 74 68 65 6e 0d | 70 75 74 20 69 74 65 6d |ty then.|put item|
|00001fe0| 20 63 6c 61 73 73 6e 75 | 6d 20 6f 66 20 63 6c 61 | classnu|m of cla|
|00001ff0| 73 73 6e 61 6d 65 73 20 | 69 6e 74 6f 20 63 6c 61 |ssnames |into cla|
|00002000| 73 73 6e 61 6d 65 0d 65 | 6e 64 20 69 66 0d 70 75 |ssname.e|nd if.pu|
|00002010| 74 20 62 6b 67 6e 64 20 | 66 69 65 6c 64 20 22 69 |t bkgnd |field "i|
|00002020| 6e 73 74 61 6e 63 65 20 | 6e 61 6d 65 73 22 20 6f |nstance |names" o|
|00002030| 66 20 63 61 72 64 20 63 | 6c 61 73 73 6e 61 6d 65 |f card c|lassname|
|00002040| 20 69 6e 74 6f 20 74 65 | 6d 70 0d 70 75 74 20 74 | into te|mp.put t|
|00002050| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |he numbe|r of lin|
|00002060| 65 73 20 69 6e 20 74 65 | 6d 70 20 69 6e 74 6f 20 |es in te|mp into |
|00002070| 74 65 6d 70 6e 75 6d 0d | 72 65 70 65 61 74 20 77 |tempnum.|repeat w|
|00002080| 69 74 68 20 69 3d 31 20 | 74 6f 20 74 65 6d 70 6e |ith i=1 |to tempn|
|00002090| 75 6d 0d 70 75 74 20 20 | 6c 69 6e 65 20 69 20 6f |um.put |line i o|
|000020a0| 66 20 74 65 6d 70 20 69 | 6e 74 6f 20 6c 69 6e 65 |f temp i|nto line|
|000020b0| 20 69 20 6f 66 20 69 6e | 73 74 61 6e 63 65 6c 69 | i of in|stanceli|
|000020c0| 73 74 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 70 75 |st.end r|epeat.pu|
|000020d0| 74 20 62 6b 67 6e 64 20 | 66 69 65 6c 64 20 22 69 |t bkgnd |field "i|
|000020e0| 6e 68 65 72 69 74 65 64 | 20 69 6e 73 74 61 6e 63 |nherited| instanc|
|000020f0| 65 22 20 6f 66 20 63 61 | 72 64 20 63 6c 61 73 73 |e" of ca|rd class|
|00002100| 6e 61 6d 65 20 69 6e 74 | 6f 20 74 65 6d 70 0d 72 |name int|o temp.r|
|00002110| 65 70 65 61 74 20 77 69 | 74 68 20 69 3d 31 20 74 |epeat wi|th i=1 t|
|00002120| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of |
|00002130| 6c 69 6e 65 73 20 69 6e | 20 74 65 6d 70 0d 70 75 |lines in| temp.pu|
|00002140| 74 20 6c 69 6e 65 20 69 | 20 6f 66 20 74 65 6d 70 |t line i| of temp|
|00002150| 20 69 6e 74 6f 20 6c 69 | 6e 65 20 28 74 65 6d 70 | into li|ne (temp|
|00002160| 6e 75 6d 2b 69 29 20 6f | 66 20 69 6e 73 74 61 6e |num+i) o|f instan|
|00002170| 63 65 6c 69 73 74 0d 65 | 6e 64 20 72 65 70 65 61 |celist.e|nd repea|
|00002180| 74 0d 72 65 74 75 72 6e | 20 69 6e 73 74 61 6e 63 |t.return| instanc|
|00002190| 65 6c 69 73 74 0d 65 6e | 64 20 67 65 74 69 6e 73 |elist.en|d getins|
|000021a0| 74 61 6e 63 65 6c 69 73 | 74 64 65 66 61 75 6c 74 |tancelis|tdefault|
|000021b0| 73 0d 66 75 6e 63 74 69 | 6f 6e 20 6c 69 6e 65 63 |s.functi|on linec|
|000021c0| 68 6f 6f 73 65 6e 20 6c | 6f 63 0d 2d 2d 69 6e 70 |hoosen l|oc.--inp|
|000021d0| 75 74 20 20 78 2c 79 20 | 6c 6f 63 61 74 69 6f 6e |ut x,y |location|
|000021e0| 20 6f 66 20 74 68 65 20 | 6d 6f 75 73 65 20 63 6c | of the |mouse cl|
|000021f0| 69 63 6b 28 75 73 65 20 | 74 68 65 20 63 6c 69 63 |ick(use |the clic|
|00002200| 6b 6c 6f 63 29 0d 2d 2d | 20 54 68 69 73 20 69 73 |kloc).--| This is|
|00002210| 20 61 20 67 65 6e 65 72 | 61 6c 6c 79 20 75 73 65 | a gener|ally use|
|00002220| 66 75 6c 20 66 75 6e 63 | 74 69 6f 6e 20 77 68 69 |ful func|tion whi|
|00002230| 63 68 20 74 61 6b 65 73 | 20 74 68 65 20 63 6c 69 |ch takes| the cli|
|00002240| 63 6b 6c 6f 63 20 61 73 | 0d 2d 2d 20 69 6e 70 75 |ckloc as|.-- inpu|
|00002250| 74 20 61 6e 64 20 66 69 | 6e 64 73 20 6f 75 74 20 |t and fi|nds out |
|00002260| 77 68 69 63 68 20 6c 69 | 6e 65 20 69 6e 20 61 20 |which li|ne in a |
|00002270| 73 63 72 6f 6c 6c 69 6e | 67 20 66 69 65 6c 64 20 |scrollin|g field |
|00002280| 77 61 73 20 63 6c 69 63 | 6b 65 64 20 6f 6e 0d 70 |was clic|ked on.p|
|00002290| 75 74 20 73 65 63 6f 6e | 64 20 69 74 65 6d 20 6f |ut secon|d item o|
|000022a0| 66 20 6c 6f 63 20 69 6e | 74 6f 20 70 6f 73 0d 70 |f loc in|to pos.p|
|000022b0| 75 74 20 70 6f 73 20 2d | 20 74 68 65 20 74 6f 70 |ut pos -| the top|
|000022c0| 20 6f 66 20 74 68 65 20 | 74 61 72 67 65 74 20 69 | of the |target i|
|000022d0| 6e 74 6f 20 70 6f 73 0d | 70 75 74 20 70 6f 73 20 |nto pos.|put pos |
|000022e0| 2b 20 74 68 65 20 73 63 | 72 6f 6c 6c 20 6f 66 20 |+ the sc|roll of |
|000022f0| 74 68 65 20 74 61 72 67 | 65 74 20 69 6e 74 6f 20 |the targ|et into |
|00002300| 70 6f 73 0d 67 65 74 20 | 74 68 65 20 74 65 78 74 |pos.get |the text|
|00002310| 73 69 7a 65 20 6f 66 20 | 74 68 65 20 74 61 72 67 |size of |the targ|
|00002320| 65 74 0d 70 75 74 20 69 | 74 2b 74 72 75 6e 63 28 |et.put i|t+trunc(|
|00002330| 69 74 2f 33 29 20 69 6e | 74 6f 20 73 69 7a 65 0d |it/3) in|to size.|
|00002340| 70 75 74 20 74 72 75 6e | 63 28 70 6f 73 2f 73 69 |put trun|c(pos/si|
|00002350| 7a 65 29 2b 31 20 69 6e | 74 6f 20 6c 69 6e 65 68 |ze)+1 in|to lineh|
|00002360| 69 74 0d 72 65 74 75 72 | 6e 20 6c 69 6e 65 68 69 |it.retur|n linehi|
|00002370| 74 0d 65 6e 64 20 6c 69 | 6e 65 63 68 6f 6f 73 65 |t.end li|nechoose|
|00002380| 6e 0d 6f 6e 20 63 68 65 | 63 6b 66 72 65 65 73 70 |n.on che|ckfreesp|
|00002390| 61 63 65 0d 2d 2d 20 54 | 68 69 73 20 63 68 65 63 |ace.-- T|his chec|
|000023a0| 6b 73 20 6f 6e 20 74 68 | 65 20 61 6d 6f 75 6e 74 |ks on th|e amount|
|000023b0| 20 6f 66 20 67 61 72 62 | 61 67 65 20 6e 65 65 64 | of garb|age need|
|000023c0| 69 6e 67 20 63 6f 6c 6c | 65 63 74 69 6e 67 0d 67 |ing coll|ecting.g|
|000023d0| 65 74 20 74 68 65 20 66 | 72 65 65 73 69 7a 65 20 |et the f|reesize |
|000023e0| 6f 66 20 74 68 69 73 20 | 73 74 61 63 6b 0d 69 66 |of this |stack.if|
|000023f0| 20 69 74 20 3e 20 31 35 | 30 30 30 20 74 68 65 6e | it > 15|000 then|
|00002400| 0d 70 75 74 20 22 50 6c | 65 61 73 65 20 77 61 69 |.put "Pl|ease wai|
|00002410| 74 2c 49 27 6d 20 64 6f | 69 6e 67 20 73 6f 6d 65 |t,I'm do|ing some|
|00002420| 20 67 61 72 62 61 67 65 | 20 63 6f 6c 6c 65 63 74 | garbage| collect|
|00002430| 69 6f 6e 22 20 69 6e 74 | 6f 20 6d 65 73 73 61 67 |ion" int|o messag|
|00002440| 65 0d 64 6f 6d 65 6e 75 | 20 22 63 6f 6d 70 61 63 |e.domenu| "compac|
|00002450| 74 20 73 74 61 63 6b 22 | 0d 68 69 64 65 20 6d 65 |t stack"|.hide me|
|00002460| 73 73 61 67 65 0d 65 6e | 64 20 69 66 0d 65 6e 64 |ssage.en|d if.end|
|00002470| 20 63 68 65 63 6b 66 72 | 65 65 73 70 61 63 65 0d | checkfr|eespace.|
|00002480| 66 75 6e 63 74 69 6f 6e | 20 67 65 74 70 72 6f 67 |function| getprog|
|00002490| 72 61 6d 63 61 72 64 73 | 0d 2d 2d 20 69 6e 70 75 |ramcards|.-- inpu|
|000024a0| 74 73 20 6e 6f 6e 65 0d | 2d 2d 20 6f 75 74 70 75 |ts none.|-- outpu|
|000024b0| 74 73 20 6c 69 73 74 20 | 6f 66 20 74 68 65 20 63 |ts list |of the c|
|000024c0| 61 72 64 20 6e 61 6d 65 | 73 20 69 6e 20 74 68 65 |ard name|s in the|
|000024d0| 20 70 72 6f 67 72 61 6d | 6d 69 6e 67 20 61 72 65 | program|ming are|
|000024e0| 61 0d 2d 2d 20 69 6e 20 | 74 68 69 73 20 73 74 61 |a.-- in |this sta|
|000024f0| 63 6b 20 74 68 65 20 70 | 72 6f 67 72 61 6d 6d 69 |ck the p|rogrammi|
|00002500| 6e 67 20 61 72 65 61 20 | 69 73 20 61 6c 6c 20 63 |ng area |is all c|
|00002510| 61 72 64 73 20 69 6e 20 | 62 6b 67 6e 64 0d 2d 2d |ards in |bkgnd.--|
|00002520| 20 22 77 6f 72 6b 20 73 | 70 61 63 65 22 2e 20 20 | "work s|pace". |
|00002530| 49 66 20 79 6f 75 20 77 | 69 73 68 20 74 6f 20 63 |If you w|ish to c|
|00002540| 68 61 6e 67 65 20 74 68 | 61 74 20 74 68 65 6e 20 |hange th|at then |
|00002550| 6d 6f 64 69 66 79 20 74 | 68 69 73 20 66 75 6e 63 |modify t|his func|
|00002560| 74 69 6f 6e 0d 2d 2d 20 | 74 6f 20 67 65 6e 65 72 |tion.-- |to gener|
|00002570| 61 74 65 20 74 68 65 20 | 63 6f 72 72 65 63 74 20 |ate the |correct |
|00002580| 6c 69 73 74 0d 70 75 74 | 20 74 68 65 20 6e 75 6d |list.put| the num|
|00002590| 62 65 72 20 6f 66 20 63 | 61 72 64 73 20 69 6e 20 |ber of c|ards in |
|000025a0| 62 6b 67 6e 64 20 22 77 | 6f 72 6b 20 73 70 61 63 |bkgnd "w|ork spac|
|000025b0| 65 22 20 69 6e 74 6f 20 | 6e 63 61 72 64 73 0d 72 |e" into |ncards.r|
|000025c0| 65 70 65 61 74 20 77 69 | 74 68 20 69 3d 31 20 74 |epeat wi|th i=1 t|
|000025d0| 6f 20 6e 63 61 72 64 73 | 0d 70 75 74 20 74 68 65 |o ncards|.put the|
|000025e0| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 63 | short n|ame of c|
|000025f0| 61 72 64 20 69 20 6f 66 | 20 62 6b 67 6e 64 20 22 |ard i of| bkgnd "|
|00002600| 77 6f 72 6b 20 73 70 61 | 63 65 22 20 69 6e 74 6f |work spa|ce" into|
|00002610| 20 69 74 65 6d 20 69 c2 | 0d 6f 66 20 63 61 72 64 | item i.|.of card|
|00002620| 6c 69 73 74 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |list.end| repeat.|
|00002630| 72 65 74 75 72 6e 20 63 | 61 72 64 6c 69 73 74 0d |return c|ardlist.|
|00002640| 65 6e 64 20 67 65 74 70 | 72 6f 67 72 61 6d 63 61 |end getp|rogramca|
|00002650| 72 64 73 0d 6f 6e 20 73 | 65 74 62 75 74 74 6f 6e |rds.on s|etbutton|
|00002660| 73 0d 2d 2d 54 68 69 73 | 20 6c 65 74 73 20 79 6f |s.--This| lets yo|
|00002670| 75 20 73 65 74 20 74 68 | 65 20 66 6f 6e 74 2c 66 |u set th|e font,f|
|00002680| 6f 6e 74 20 73 74 79 6c | 65 2c 73 69 7a 65 2c 61 |ont styl|e,size,a|
|00002690| 6e 64 20 62 75 74 74 6f | 6e 20 73 74 79 6c 65 20 |nd butto|n style |
|000026a0| 66 6f 72 20 61 6c 6c 20 | 6f 66 0d 2d 2d 74 68 65 |for all |of.--the|
|000026b0| 20 62 61 63 6b 67 72 6f | 75 6e 64 20 62 75 74 74 | backgro|und butt|
|000026c0| 6f 6e 73 20 69 6e 20 61 | 6e 79 20 63 61 72 64 0d |ons in a|ny card.|
|000026d0| 70 75 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |put the |number o|
|000026e0| 66 20 62 6b 67 6e 64 20 | 62 75 74 74 6f 6e 73 20 |f bkgnd |buttons |
|000026f0| 69 6e 74 6f 20 74 65 6d | 70 0d 61 73 6b 20 22 45 |into tem|p.ask "E|
|00002700| 6e 74 65 72 20 74 68 65 | 20 66 6f 6e 74 2c 66 6f |nter the| font,fo|
|00002710| 6e 74 20 73 74 79 6c 65 | 2c 73 69 7a 65 2c 73 74 |nt style|,size,st|
|00002720| 79 6c 65 22 20 77 69 74 | 68 20 22 6e 65 77 20 79 |yle" wit|h "new y|
|00002730| 6f 72 6b 2c 62 6f 6c 64 | 2c 31 30 2c 72 6f 75 6e |ork,bold|,10,roun|
|00002740| 64 72 65 63 74 22 0d 70 | 75 74 20 69 74 20 69 6e |drect".p|ut it in|
|00002750| 74 6f 20 70 61 72 61 6d | 73 0d 72 65 70 65 61 74 |to param|s.repeat|
|00002760| 20 77 69 74 68 20 78 3d | 31 20 74 6f 20 74 65 6d | with x=|1 to tem|
|00002770| 70 0d 69 66 20 74 68 65 | 20 73 68 6f 77 6e 61 6d |p.if the| shownam|
|00002780| 65 20 6f 66 20 62 6b 67 | 6e 64 20 62 75 74 74 6f |e of bkg|nd butto|
|00002790| 6e 20 78 20 69 73 20 22 | 74 72 75 65 22 20 74 68 |n x is "|true" th|
|000027a0| 65 6e 0d 73 65 74 20 74 | 68 65 20 74 65 78 74 66 |en.set t|he textf|
|000027b0| 6f 6e 74 20 6f 66 20 62 | 6b 67 6e 64 20 62 75 74 |ont of b|kgnd but|
|000027c0| 74 6f 6e 20 78 20 74 6f | 20 69 74 65 6d 20 31 20 |ton x to| item 1 |
|000027d0| 6f 66 20 70 61 72 61 6d | 73 0d 73 65 74 20 74 68 |of param|s.set th|
|000027e0| 65 20 74 65 78 74 73 74 | 79 6c 65 20 6f 66 20 62 |e textst|yle of b|
|000027f0| 6b 67 6e 64 20 62 75 74 | 74 6f 6e 20 78 20 74 6f |kgnd but|ton x to|
|00002800| 20 69 74 65 6d 20 32 20 | 6f 66 20 70 61 72 61 6d | item 2 |of param|
|00002810| 73 0d 73 65 74 20 74 68 | 65 20 74 65 78 74 73 69 |s.set th|e textsi|
|00002820| 7a 65 20 6f 66 20 62 6b | 67 6e 64 20 62 75 74 74 |ze of bk|gnd butt|
|00002830| 6f 6e 20 78 20 74 6f 20 | 69 74 65 6d 20 33 20 6f |on x to |item 3 o|
|00002840| 66 20 70 61 72 61 6d 73 | 0d 73 65 74 20 74 68 65 |f params|.set the|
|00002850| 20 73 74 79 6c 65 20 6f | 66 20 62 6b 67 6e 64 20 | style o|f bkgnd |
|00002860| 62 75 74 74 6f 6e 20 78 | 20 74 6f 20 20 69 74 65 |button x| to ite|
|00002870| 6d 20 34 20 6f 66 20 70 | 61 72 61 6d 73 0d 65 6e |m 4 of p|arams.en|
|00002880| 64 20 69 66 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |d if.end| repeat.|
|00002890| 65 6e 64 20 73 65 74 62 | 75 74 74 6f 6e 73 0d 66 |end setb|uttons.f|
|000028a0| 75 6e 63 74 69 6f 6e 20 | 6d 61 6b 65 69 6e 73 74 |unction |makeinst|
|000028b0| 61 6e 63 65 6c 69 73 74 | 73 0d 2d 2d 6f 75 74 70 |ancelist|s.--outp|
|000028c0| 75 74 20 20 6c 69 73 74 | 20 77 69 74 68 20 69 74 |ut list| with it|
|000028d0| 65 6d 20 69 20 6f 66 20 | 6c 69 6e 65 20 6b 20 62 |em i of |line k b|
|000028e0| 65 69 6e 67 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |eing the| name of|
|000028f0| 20 74 68 65 20 69 74 68 | 0d 2d 2d 20 20 20 20 20 | the ith|.-- |
|00002900| 20 20 20 69 6e 73 74 61 | 6e 63 65 20 76 61 72 69 | insta|nce vari|
|00002910| 61 62 6c 65 20 6f 66 20 | 63 6c 61 73 73 20 6b 0d |able of |class k.|
|00002920| 2d 2d 74 68 69 73 20 72 | 65 74 75 72 6e 73 20 61 |--this r|eturns a|
|00002930| 20 6d 61 73 74 65 72 20 | 6c 69 73 74 20 6f 66 20 | master |list of |
|00002940| 61 6c 6c 20 69 6e 73 74 | 61 6e 63 65 20 76 61 72 |all inst|ance var|
|00002950| 69 61 62 6c 65 20 6e 61 | 6d 65 73 20 62 79 20 63 |iable na|mes by c|
|00002960| 6c 61 73 73 0d 67 6c 6f | 62 61 6c 20 63 6c 61 73 |lass.glo|bal clas|
|00002970| 73 6e 61 6d 65 73 0d 75 | 70 64 61 74 65 63 6c 61 |snames.u|pdatecla|
|00002980| 73 73 6c 69 73 74 0d 70 | 75 74 20 65 6d 70 74 79 |sslist.p|ut empty|
|00002990| 20 69 6e 74 6f 20 69 6e | 73 74 61 6e 63 65 6c 69 | into in|stanceli|
|000029a0| 73 74 73 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |sts.repe|at with |
|000029b0| 69 3d 31 20 74 6f 20 74 | 68 65 20 6e 75 6d 62 65 |i=1 to t|he numbe|
|000029c0| 72 20 6f 66 20 69 74 65 | 6d 73 20 69 6e 20 63 6c |r of ite|ms in cl|
|000029d0| 61 73 73 6e 61 6d 65 73 | 0d 70 75 74 20 67 65 74 |assnames|.put get|
|000029e0| 69 6e 73 74 61 6e 63 65 | 6c 69 73 74 28 28 69 74 |instance|list((it|
|000029f0| 65 6d 20 69 20 6f 66 20 | 63 6c 61 73 73 6e 61 6d |em i of |classnam|
|00002a00| 65 73 29 2c 30 29 20 69 | 6e 74 6f 20 6c 69 6e 65 |es),0) i|nto line|
|00002a10| 20 69 20 6f 66 20 c2 0d | 69 6e 73 74 61 6e 63 65 | i of ..|instance|
|00002a20| 6c 69 73 74 73 0d 65 6e | 64 20 72 65 70 65 61 74 |lists.en|d repeat|
|00002a30| 0d 72 65 74 75 72 6e 20 | 69 6e 73 74 61 6e 63 65 |.return |instance|
|00002a40| 6c 69 73 74 73 0d 65 6e | 64 20 6d 61 6b 65 69 6e |lists.en|d makein|
|00002a50| 73 74 61 6e 63 65 6c 69 | 73 74 73 0d 66 75 6e 63 |stanceli|sts.func|
|00002a60| 74 69 6f 6e 20 6d 61 6b | 65 69 6e 73 74 61 6e 63 |tion mak|einstanc|
|00002a70| 65 64 65 66 61 75 6c 74 | 73 0d 2d 2d 6f 75 74 70 |edefault|s.--outp|
|00002a80| 75 74 20 6c 69 73 74 20 | 77 69 74 68 20 69 74 65 |ut list |with ite|
|00002a90| 6d 20 69 20 6f 66 20 6c | 69 6e 65 20 6b 20 62 65 |m i of l|ine k be|
|00002aa0| 69 6e 67 20 74 68 65 20 | 64 65 66 61 75 6c 74 20 |ing the |default |
|00002ab0| 76 61 6c 75 65 20 6f 66 | 20 74 68 65 20 69 74 68 |value of| the ith|
|00002ac0| 0d 2d 2d 20 20 20 20 20 | 20 20 69 6e 73 74 61 6e |.-- | instan|
|00002ad0| 63 65 20 76 61 72 69 61 | 62 6c 65 20 6f 66 20 63 |ce varia|ble of c|
|00002ae0| 6c 61 73 73 20 6b 0d 67 | 6c 6f 62 61 6c 20 63 6c |lass k.g|lobal cl|
|00002af0| 61 73 73 6e 61 6d 65 73 | 0d 75 70 64 61 74 65 63 |assnames|.updatec|
|00002b00| 6c 61 73 73 6c 69 73 74 | 0d 70 75 74 20 65 6d 70 |lasslist|.put emp|
|00002b10| 74 79 20 69 6e 74 6f 20 | 64 65 66 61 75 6c 74 6c |ty into |defaultl|
|00002b20| 69 73 74 73 0d 72 65 70 | 65 61 74 20 77 69 74 68 |ists.rep|eat with|
|00002b30| 20 69 3d 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 | i=1 to |the numb|
|00002b40| 65 72 20 6f 66 20 69 74 | 65 6d 73 20 69 6e 20 63 |er of it|ems in c|
|00002b50| 6c 61 73 73 6e 61 6d 65 | 73 0d 70 75 74 20 67 65 |lassname|s.put ge|
|00002b60| 74 69 6e 73 74 61 6e 63 | 65 6c 69 73 74 64 65 66 |tinstanc|elistdef|
|00002b70| 61 75 6c 74 73 28 28 69 | 74 65 6d 20 69 20 6f 66 |aults((i|tem i of|
|00002b80| 20 63 6c 61 73 73 6e 61 | 6d 65 73 29 2c 30 29 20 | classna|mes),0) |
|00002b90| 69 6e 74 6f 20 74 65 6d | 70 0d 72 65 70 65 61 74 |into tem|p.repeat|
|00002ba0| 20 77 69 74 68 20 6b 3d | 31 20 74 6f 20 74 68 65 | with k=|1 to the|
|00002bb0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00002bc0| 20 69 6e 20 74 65 6d 70 | 0d 70 75 74 20 69 74 65 | in temp|.put ite|
|00002bd0| 6d 20 32 20 6f 66 20 6c | 69 6e 65 20 6b 20 6f 66 |m 2 of l|ine k of|
|00002be0| 20 74 65 6d 70 20 69 6e | 74 6f 20 69 74 65 6d 20 | temp in|to item |
|00002bf0| 6b 20 6f 66 20 6c 69 6e | 65 20 69 20 6f 66 c2 0d |k of lin|e i of..|
|00002c00| 64 65 66 61 75 6c 74 6c | 69 73 74 73 0d 65 6e 64 |defaultl|ists.end|
|00002c10| 20 72 65 70 65 61 74 0d | 65 6e 64 20 72 65 70 65 | repeat.|end repe|
|00002c20| 61 74 0d 72 65 74 75 72 | 6e 20 64 65 66 61 75 6c |at.retur|n defaul|
|00002c30| 74 6c 69 73 74 73 0d 65 | 6e 64 20 6d 61 6b 65 69 |tlists.e|nd makei|
|00002c40| 6e 73 74 61 6e 63 65 64 | 65 66 61 75 6c 74 73 0d |nstanced|efaults.|
|00002c50| 6f 6e 20 75 70 64 61 74 | 65 69 6e 73 74 61 6e 63 |on updat|einstanc|
|00002c60| 65 73 20 6f 6c 64 69 6e | 73 74 61 6e 63 65 6c 69 |es oldin|stanceli|
|00002c70| 73 74 0d 2d 2d 69 6e 70 | 75 74 20 6c 69 73 74 20 |st.--inp|ut list |
|00002c80| 6f 66 20 6f 6c 64 20 69 | 6e 73 74 61 6e 63 65 20 |of old i|nstance |
|00002c90| 76 61 72 69 61 62 6c 65 | 20 6e 61 6d 65 73 20 62 |variable| names b|
|00002ca0| 79 20 63 6c 61 73 73 28 | 66 72 6f 6d 20 c2 0d 2d |y class(|from ..-|
|00002cb0| 2d 20 20 20 20 20 20 20 | 6d 61 6b 65 69 6e 73 74 |- |makeinst|
|00002cc0| 61 6e 63 65 6c 69 73 74 | 73 29 0d 2d 2d 54 68 69 |ancelist|s).--Thi|
|00002cd0| 73 20 67 6f 65 73 20 74 | 68 72 6f 75 67 68 20 61 |s goes t|hrough a|
|00002ce0| 6c 6c 20 6f 66 20 74 68 | 65 20 65 78 69 73 74 69 |ll of th|e existi|
|00002cf0| 6e 67 20 69 6e 73 74 61 | 6e 63 65 73 20 61 6e 64 |ng insta|nces and|
|00002d00| 20 63 6f 72 72 65 63 74 | 73 20 74 68 65 6d 0d 2d | correct|s them.-|
|00002d10| 2d 20 66 6f 72 20 63 68 | 61 6e 67 65 73 20 62 65 |- for ch|anges be|
|00002d20| 74 77 65 65 6e 20 74 68 | 65 20 6f 6c 64 20 69 6e |tween th|e old in|
|00002d30| 73 74 61 6e 63 65 20 76 | 61 72 69 61 62 6c 65 20 |stance v|ariable |
|00002d40| 6c 69 73 74 20 61 6e 64 | 20 74 68 65 20 6e 65 77 |list and| the new|
|00002d50| 0d 2d 2d 69 6e 73 74 61 | 6e 63 65 20 76 61 72 69 |.--insta|nce vari|
|00002d60| 61 62 6c 65 20 6c 69 73 | 74 2e 0d 70 75 74 20 6d |able lis|t..put m|
|00002d70| 61 6b 65 69 6e 73 74 61 | 6e 63 65 6c 69 73 74 73 |akeinsta|ncelists|
|00002d80| 28 29 20 69 6e 74 6f 20 | 6e 65 77 69 6e 73 74 61 |() into |newinsta|
|00002d90| 6e 63 65 6c 69 73 74 0d | 70 75 74 20 6d 61 6b 65 |ncelist.|put make|
|00002da0| 69 6e 73 74 61 6e 63 65 | 64 65 66 61 75 6c 74 73 |instance|defaults|
|00002db0| 28 29 20 69 6e 74 6f 20 | 6e 65 77 64 65 66 61 75 |() into |newdefau|
|00002dc0| 6c 74 6c 69 73 74 0d 70 | 75 73 68 20 63 61 72 64 |ltlist.p|ush card|
|00002dd0| 0d 70 75 74 20 67 65 74 | 70 72 6f 67 72 61 6d 63 |.put get|programc|
|00002de0| 61 72 64 73 28 29 20 69 | 6e 74 6f 20 63 61 72 64 |ards() i|nto card|
|00002df0| 6c 69 73 74 0d 72 65 70 | 65 61 74 20 77 69 74 68 |list.rep|eat with|
|00002e00| 20 6b 3d 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 | k=1 to |the numb|
|00002e10| 65 72 20 6f 66 20 69 74 | 65 6d 73 20 69 6e 20 63 |er of it|ems in c|
|00002e20| 61 72 64 6c 69 73 74 0d | 67 6f 20 74 6f 20 63 61 |ardlist.|go to ca|
|00002e30| 72 64 20 28 20 69 74 65 | 6d 20 6b 20 6f 66 20 63 |rd ( ite|m k of c|
|00002e40| 61 72 64 6c 69 73 74 29 | 0d 72 65 70 65 61 74 20 |ardlist)|.repeat |
|00002e50| 77 69 74 68 20 69 3d 31 | 20 74 6f 20 74 68 65 20 |with i=1| to the |
|00002e60| 6e 75 6d 62 65 72 20 6f | 66 20 63 61 72 64 20 66 |number o|f card f|
|00002e70| 69 65 6c 64 73 0d 70 75 | 74 20 63 6c 61 73 73 28 |ields.pu|t class(|
|00002e80| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 63 61 |short na|me of ca|
|00002e90| 72 64 20 66 69 65 6c 64 | 20 69 29 20 69 6e 74 6f |rd field| i) into|
|00002ea0| 20 63 6e 61 6d 65 0d 70 | 75 74 20 63 61 72 64 20 | cname.p|ut card |
|00002eb0| 66 69 65 6c 64 20 69 20 | 69 6e 74 6f 20 74 65 6d |field i |into tem|
|00002ec0| 70 0d 70 75 74 20 63 6c | 61 73 73 6e 75 6d 62 65 |p.put cl|assnumbe|
|00002ed0| 72 28 63 6e 61 6d 65 29 | 20 69 6e 74 6f 20 70 6f |r(cname)| into po|
|00002ee0| 69 6e 74 65 72 0d 70 75 | 74 20 6c 69 6e 65 20 70 |inter.pu|t line p|
|00002ef0| 6f 69 6e 74 65 72 20 6f | 66 20 6f 6c 64 69 6e 73 |ointer o|f oldins|
|00002f00| 74 61 6e 63 65 6c 69 73 | 74 20 69 6e 74 6f 20 6f |tancelis|t into o|
|00002f10| 6c 69 73 74 0d 70 75 74 | 20 6c 69 6e 65 20 70 6f |list.put| line po|
|00002f20| 69 6e 74 65 72 20 6f 66 | 20 6e 65 77 69 6e 73 74 |inter of| newinst|
|00002f30| 61 6e 63 65 6c 69 73 74 | 20 69 6e 74 6f 20 6e 6c |ancelist| into nl|
|00002f40| 69 73 74 0d 70 75 74 20 | 6c 69 6e 65 20 70 6f 69 |ist.put |line poi|
|00002f50| 6e 74 65 72 20 6f 66 20 | 6e 65 77 64 65 66 61 75 |nter of |newdefau|
|00002f60| 6c 74 6c 69 73 74 20 69 | 6e 74 6f 20 6e 64 6c 69 |ltlist i|nto ndli|
|00002f70| 73 74 0d 75 70 64 61 74 | 65 69 6e 73 74 61 6e 63 |st.updat|einstanc|
|00002f80| 65 76 61 6c 75 65 73 20 | 74 65 6d 70 2c 63 6e 61 |evalues |temp,cna|
|00002f90| 6d 65 2c 6f 6c 69 73 74 | 2c 6e 6c 69 73 74 2c 6e |me,olist|,nlist,n|
|00002fa0| 64 6c 69 73 74 2c 69 0d | 65 6e 64 20 72 65 70 65 |dlist,i.|end repe|
|00002fb0| 61 74 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 70 6f |at.end r|epeat.po|
|00002fc0| 70 20 63 61 72 64 0d 65 | 6e 64 20 75 70 64 61 74 |p card.e|nd updat|
|00002fd0| 65 69 6e 73 74 61 6e 63 | 65 73 0d 6f 6e 20 75 70 |einstanc|es.on up|
|00002fe0| 64 61 74 65 69 6e 73 74 | 61 6e 63 65 76 61 6c 75 |dateinst|ancevalu|
|00002ff0| 65 73 20 69 76 61 72 73 | 2c 63 6e 61 6d 65 2c 6f |es ivars|,cname,o|
|00003000| 6c 69 73 74 2c 6e 6c 69 | 73 74 2c 6e 64 6c 69 73 |list,nli|st,ndlis|
|00003010| 74 2c 66 6e 75 6d 0d 70 | 75 74 20 65 6d 70 74 79 |t,fnum.p|ut empty|
|00003020| 20 69 6e 74 6f 20 74 65 | 6d 70 6c 69 73 74 0d 70 | into te|mplist.p|
|00003030| 75 74 20 6c 69 6e 65 20 | 31 20 6f 66 20 69 76 61 |ut line |1 of iva|
|00003040| 72 73 20 69 6e 74 6f 20 | 6c 69 6e 65 20 31 20 6f |rs into |line 1 o|
|00003050| 66 20 74 65 6d 70 6c 69 | 73 74 0d 70 75 74 20 6c |f templi|st.put l|
|00003060| 69 6e 65 20 32 20 6f 66 | 20 69 76 61 72 73 20 69 |ine 2 of| ivars i|
|00003070| 6e 74 6f 20 6c 69 6e 65 | 20 32 20 6f 66 20 74 65 |nto line| 2 of te|
|00003080| 6d 70 6c 69 73 74 0d 72 | 65 70 65 61 74 20 77 69 |mplist.r|epeat wi|
|00003090| 74 68 20 69 3d 31 20 74 | 6f 20 74 68 65 20 6e 75 |th i=1 t|o the nu|
|000030a0| 6d 62 65 72 20 6f 66 20 | 69 74 65 6d 73 20 69 6e |mber of |items in|
|000030b0| 20 6e 6c 69 73 74 0d 72 | 65 70 65 61 74 20 77 69 | nlist.r|epeat wi|
|000030c0| 74 68 20 6a 3d 31 20 74 | 6f 20 74 68 65 20 6e 75 |th j=1 t|o the nu|
|000030d0| 6d 62 65 72 20 6f 66 20 | 69 74 65 6d 73 20 69 6e |mber of |items in|
|000030e0| 20 6f 6c 69 73 74 0d 69 | 66 20 69 74 65 6d 20 6a | olist.i|f item j|
|000030f0| 20 6f 66 20 6f 6c 69 73 | 74 20 3d 20 69 74 65 6d | of olis|t = item|
|00003100| 20 69 20 6f 66 20 6e 6c | 69 73 74 20 74 68 65 6e | i of nl|ist then|
|00003110| 0d 70 75 74 20 6c 69 6e | 65 20 6a 2b 32 20 6f 66 |.put lin|e j+2 of|
|00003120| 20 69 76 61 72 73 20 69 | 6e 74 6f 20 6c 69 6e 65 | ivars i|nto line|
|00003130| 20 69 2b 32 20 6f 66 20 | 74 65 6d 70 6c 69 73 74 | i+2 of |templist|
|00003140| 0d 65 78 69 74 20 72 65 | 70 65 61 74 0d 65 6e 64 |.exit re|peat.end|
|00003150| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 69 | if.end |repeat.i|
|00003160| 66 20 6c 69 6e 65 20 69 | 2b 32 20 6f 66 20 74 65 |f line i|+2 of te|
|00003170| 6d 70 6c 69 73 74 20 69 | 73 20 65 6d 70 74 79 20 |mplist i|s empty |
|00003180| 74 68 65 6e 0d 70 75 74 | 20 69 74 65 6d 20 32 20 |then.put| item 2 |
|00003190| 6f 66 20 6c 69 6e 65 20 | 69 20 6f 66 20 6e 64 6c |of line |i of ndl|
|000031a0| 69 73 74 20 69 6e 74 6f | 20 6c 69 6e 65 20 69 2b |ist into| line i+|
|000031b0| 32 20 6f 66 20 74 65 6d | 70 6c 69 73 74 0d 65 6e |2 of tem|plist.en|
|000031c0| 64 20 69 66 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |d if.end| repeat.|
|000031d0| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 63 |put empt|y into c|
|000031e0| 61 72 64 20 66 69 65 6c | 64 20 66 6e 75 6d 0d 70 |ard fiel|d fnum.p|
|000031f0| 75 74 20 74 65 6d 70 6c | 69 73 74 20 69 6e 74 6f |ut templ|ist into|
|00003200| 20 63 61 72 64 20 66 69 | 65 6c 64 20 66 6e 75 6d | card fi|eld fnum|
|00003210| 0d 65 6e 64 20 75 70 64 | 61 74 65 69 6e 73 74 61 |.end upd|ateinsta|
|00003220| 6e 63 65 76 61 6c 75 65 | 73 0d 6f 6e 20 75 70 64 |ncevalue|s.on upd|
|00003230| 61 74 65 69 6e 73 74 61 | 6e 63 65 6d 65 74 68 6f |ateinsta|ncemetho|
|00003240| 64 73 0d 2d 2d 74 68 69 | 73 20 68 61 6e 64 6c 65 |ds.--thi|s handle|
|00003250| 72 20 77 69 6c 6c 20 67 | 6f 20 74 68 72 6f 75 67 |r will g|o throug|
|00003260| 68 20 61 6c 6c 20 6f 66 | 20 74 68 65 20 63 61 72 |h all of| the car|
|00003270| 64 73 20 69 6e 20 74 68 | 65 20 77 6f 72 6b 20 73 |ds in th|e work s|
|00003280| 70 61 63 65 20 61 6e 64 | 0d 2d 2d 75 70 64 61 74 |pace and|.--updat|
|00003290| 65 20 74 68 65 69 72 20 | 73 63 72 69 70 74 73 20 |e their |scripts |
|000032a0| 74 6f 20 72 65 66 6c 65 | 63 74 20 74 68 65 20 6c |to refle|ct the l|
|000032b0| 61 74 65 73 74 20 63 68 | 61 6e 67 65 73 20 69 6e |atest ch|anges in|
|000032c0| 20 62 6f 74 68 20 6d 65 | 74 68 6f 64 73 0d 2d 2d | both me|thods.--|
|000032d0| 61 6e 64 20 63 6c 61 73 | 73 20 69 6e 68 65 72 69 |and clas|s inheri|
|000032e0| 74 61 6e 63 65 20 73 74 | 72 75 63 74 75 72 65 0d |tance st|ructure.|
|000032f0| 70 75 73 68 20 63 61 72 | 64 0d 70 75 74 20 67 65 |push car|d.put ge|
|00003300| 74 70 72 6f 67 72 61 6d | 63 61 72 64 73 28 29 20 |tprogram|cards() |
|00003310| 69 6e 74 6f 20 63 61 72 | 64 6c 69 73 74 0d 72 65 |into car|dlist.re|
|00003320| 70 65 61 74 20 77 69 74 | 68 20 6b 3d 31 20 74 6f |peat wit|h k=1 to|
|00003330| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 69 | the num|ber of i|
|00003340| 74 65 6d 73 20 69 6e 20 | 63 61 72 64 6c 69 73 74 |tems in |cardlist|
|00003350| 0d 67 6f 20 74 6f 20 63 | 61 72 64 20 28 20 69 74 |.go to c|ard ( it|
|00003360| 65 6d 20 6b 20 6f 66 20 | 63 61 72 64 6c 69 73 74 |em k of |cardlist|
|00003370| 29 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 3d |).repeat| with i=|
|00003380| 31 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |1 to the| number |
|00003390| 6f 66 20 63 61 72 64 20 | 66 69 65 6c 64 73 0d 70 |of card |fields.p|
|000033a0| 75 74 20 6c 69 6e 65 20 | 31 20 6f 66 20 63 61 72 |ut line |1 of car|
|000033b0| 64 20 66 69 65 6c 64 20 | 69 20 69 6e 74 6f 20 69 |d field |i into i|
|000033c0| 6e 73 74 61 6e 63 65 6e | 61 6d 65 0d 70 75 74 20 |nstancen|ame.put |
|000033d0| 6c 69 6e 65 20 32 20 6f | 66 20 63 61 72 64 20 66 |line 2 o|f card f|
|000033e0| 69 65 6c 64 20 69 20 69 | 6e 74 6f 20 63 6e 61 6d |ield i i|nto cnam|
|000033f0| 65 0d 2d 2d 20 46 69 6e | 64 20 63 6c 61 73 73 20 |e.-- Fin|d class |
|00003400| 6e 75 6d 62 65 72 20 67 | 69 76 65 6e 20 74 68 65 |number g|iven the|
|00003410| 20 63 6c 61 73 73 20 6e | 61 6d 65 0d 70 75 74 20 | class n|ame.put |
|00003420| 63 6c 61 73 73 6e 75 6d | 62 65 72 28 63 6e 61 6d |classnum|ber(cnam|
|00003430| 65 29 20 69 6e 74 6f 20 | 63 6c 61 73 73 6e 75 6d |e) into |classnum|
|00003440| 0d 2d 2d 20 54 68 69 73 | 20 63 6f 6c 6c 65 63 74 |.-- This| collect|
|00003450| 73 20 74 68 65 20 73 63 | 72 69 70 74 73 20 66 6f |s the sc|ripts fo|
|00003460| 72 20 74 68 65 20 66 69 | 65 6c 64 20 62 79 20 75 |r the fi|eld by u|
|00003470| 73 69 6e 67 20 74 68 65 | 20 6d 65 74 68 6f 64 20 |sing the| method |
|00003480| 6c 6f 63 61 74 69 6f 6e | 0d 2d 2d 20 69 6e 66 6f |location|.-- info|
|00003490| 72 6d 61 74 69 6f 6e 20 | 66 6f 72 20 74 68 65 20 |rmation |for the |
|000034a0| 72 65 6c 65 76 65 6e 74 | 20 63 6c 61 73 73 0d 66 |relevent| class.f|
|000034b0| 69 6c 6c 69 6e 73 74 61 | 6e 63 65 6d 65 74 68 6f |illinsta|ncemetho|
|000034c0| 64 73 20 63 6c 61 73 73 | 6e 75 6d 2c 69 6e 73 74 |ds class|num,inst|
|000034d0| 61 6e 63 65 6e 61 6d 65 | 0d 65 6e 64 20 72 65 70 |ancename|.end rep|
|000034e0| 65 61 74 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 70 |eat.end |repeat.p|
|000034f0| 6f 70 20 63 61 72 64 0d | 65 6e 64 20 75 70 64 61 |op card.|end upda|
|00003500| 74 65 69 6e 73 74 61 6e | 63 65 6d 65 74 68 6f 64 |teinstan|cemethod|
|00003510| 73 0d 6f 6e 20 66 69 6c | 6c 69 6e 73 74 61 6e 63 |s.on fil|linstanc|
|00003520| 65 6d 65 74 68 6f 64 73 | 20 63 6c 61 73 73 6e 75 |emethods| classnu|
|00003530| 6d 2c 69 6e 73 74 61 6e | 63 65 6e 61 6d 65 0d 73 |m,instan|cename.s|
|00003540| 65 74 20 74 68 65 20 73 | 63 72 69 70 74 20 6f 66 |et the s|cript of|
|00003550| 20 63 61 72 64 20 66 69 | 65 6c 64 20 69 6e 73 74 | card fi|eld inst|
|00003560| 61 6e 63 65 6e 61 6d 65 | 20 74 6f 20 c2 0d 67 65 |ancename| to ..ge|
|00003570| 74 69 6e 73 74 61 6e 63 | 65 6d 65 74 68 6f 64 73 |tinstanc|emethods|
|00003580| 28 63 6c 61 73 73 6e 75 | 6d 29 0d 65 6e 64 20 66 |(classnu|m).end f|
|00003590| 69 6c 6c 69 6e 73 74 61 | 6e 63 65 6d 65 74 68 6f |illinsta|ncemetho|
|000035a0| 64 73 0d 66 75 6e 63 74 | 69 6f 6e 20 67 65 74 69 |ds.funct|ion geti|
|000035b0| 6e 73 74 61 6e 63 65 6d | 65 74 68 6f 64 73 20 63 |nstancem|ethods c|
|000035c0| 6c 61 73 73 6e 75 6d 0d | 2d 2d 69 6e 70 75 74 20 |lassnum.|--input |
|000035d0| 6e 75 6d 62 65 72 20 6f | 66 20 61 20 63 6c 61 73 |number o|f a clas|
|000035e0| 73 0d 2d 2d 6f 75 74 70 | 75 74 20 20 74 68 65 20 |s.--outp|ut the |
|000035f0| 73 63 72 69 70 74 20 66 | 6f 72 20 74 68 61 74 20 |script f|or that |
|00003600| 63 6c 61 73 73 0d 2d 2d | 54 68 69 73 20 66 75 6e |class.--|This fun|
|00003610| 63 74 69 6f 6e 20 6d 61 | 6b 65 73 20 74 68 65 20 |ction ma|kes the |
|00003620| 73 63 72 69 70 74 20 66 | 6f 72 20 74 68 65 20 66 |script f|or the f|
|00003630| 69 65 6c 64 20 62 79 20 | 63 6f 6d 62 69 6e 69 6e |ield by |combinin|
|00003640| 67 20 74 68 65 0d 2d 2d | 20 73 63 72 69 70 74 73 |g the.--| scripts|
|00003650| 20 6f 66 20 66 72 6f 6d | 20 61 6c 6c 20 6f 66 20 | of from| all of |
|00003660| 74 68 65 20 6c 6f 63 61 | 74 69 6f 6e 73 20 6c 69 |the loca|tions li|
|00003670| 73 74 65 64 20 69 6e 20 | 74 68 65 20 22 6d 65 74 |sted in |the "met|
|00003680| 68 6f 64 20 6c 6f 63 61 | 74 69 6f 6e 22 0d 2d 2d |hod loca|tion".--|
|00003690| 20 66 69 65 6c 64 20 6f | 66 20 74 68 65 20 63 6c | field o|f the cl|
|000036a0| 61 73 73 20 64 65 73 63 | 72 69 70 74 69 6f 6e 20 |ass desc|ription |
|000036b0| 63 61 72 64 0d 67 6c 6f | 62 61 6c 20 63 6c 61 73 |card.glo|bal clas|
|000036c0| 73 6e 61 6d 65 73 0d 70 | 75 74 20 62 6b 67 6e 64 |snames.p|ut bkgnd|
|000036d0| 20 66 69 65 6c 64 20 22 | 6d 65 74 68 6f 64 20 6c | field "|method l|
|000036e0| 6f 63 61 74 69 6f 6e 73 | 22 20 6f 66 20 63 61 72 |ocations|" of car|
|000036f0| 64 20 28 69 74 65 6d 20 | 63 6c 61 73 73 6e 75 6d |d (item |classnum|
|00003700| 20 6f 66 20 63 6c 61 73 | 73 6e 61 6d 65 73 29 c2 | of clas|snames).|
|00003710| 0d 69 6e 74 6f 20 6d 65 | 74 68 6f 64 6c 6f 63 0d |.into me|thodloc.|
|00003720| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 6e |put empt|y into n|
|00003730| 65 77 73 63 72 69 70 74 | 0d 70 75 74 20 63 6f 6d |ewscript|.put com|
|00003740| 62 69 6e 65 73 63 72 69 | 70 74 73 28 6d 65 74 68 |binescri|pts(meth|
|00003750| 6f 64 6c 6f 63 2c 6e 65 | 77 73 63 72 69 70 74 29 |odloc,ne|wscript)|
|00003760| 20 69 6e 74 6f 20 6e 65 | 77 73 63 72 69 70 74 0d | into ne|wscript.|
|00003770| 70 75 74 20 62 6b 67 6e | 64 20 66 69 65 6c 64 20 |put bkgn|d field |
|00003780| 22 69 6e 68 65 72 69 74 | 65 64 20 6d 65 74 68 6f |"inherit|ed metho|
|00003790| 64 73 22 20 6f 66 20 63 | 61 72 64 20 28 69 74 65 |ds" of c|ard (ite|
|000037a0| 6d 20 63 6c 61 73 73 6e | 75 6d 20 6f 66 20 c2 0d |m classn|um of ..|
|000037b0| 63 6c 61 73 73 6e 61 6d | 65 73 29 20 69 6e 74 6f |classnam|es) into|
|000037c0| 20 6d 65 74 68 6f 64 6c | 6f 63 0d 70 75 74 20 63 | methodl|oc.put c|
|000037d0| 6f 6d 62 69 6e 65 73 63 | 72 69 70 74 73 28 6d 65 |ombinesc|ripts(me|
|000037e0| 74 68 6f 64 6c 6f 63 2c | 6e 65 77 73 63 72 69 70 |thodloc,|newscrip|
|000037f0| 74 29 20 69 6e 74 6f 20 | 6e 65 77 73 63 72 69 70 |t) into |newscrip|
|00003800| 74 0d 72 65 74 75 72 6e | 20 6e 65 77 73 63 72 69 |t.return| newscri|
|00003810| 70 74 0d 65 6e 64 20 67 | 65 74 69 6e 73 74 61 6e |pt.end g|etinstan|
|00003820| 63 65 6d 65 74 68 6f 64 | 73 0d 0d 66 75 6e 63 74 |cemethod|s..funct|
|00003830| 69 6f 6e 20 63 6f 6d 62 | 69 6e 65 73 63 72 69 70 |ion comb|inescrip|
|00003840| 74 73 20 73 63 72 69 70 | 74 6c 6f 63 73 2c 73 63 |ts scrip|tlocs,sc|
|00003850| 72 69 70 74 0d 72 65 70 | 65 61 74 20 77 69 74 68 |ript.rep|eat with|
|00003860| 20 78 3d 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 | x=1 to |the numb|
|00003870| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 69 6e 20 73 |er of li|nes in s|
|00003880| 63 72 69 70 74 6c 6f 63 | 73 0d 67 65 74 20 74 68 |criptloc|s.get th|
|00003890| 65 20 73 63 72 69 70 74 | 20 6f 66 20 62 6b 67 6e |e script| of bkgn|
|000038a0| 64 20 62 75 74 74 6f 6e | 20 28 6c 69 6e 65 20 78 |d button| (line x|
|000038b0| 20 6f 66 20 73 63 72 69 | 70 74 6c 6f 63 73 29 0d | of scri|ptlocs).|
|000038c0| 70 75 74 20 69 74 20 61 | 66 74 65 72 20 73 63 72 |put it a|fter scr|
|000038d0| 69 70 74 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 72 |ipt.end |repeat.r|
|000038e0| 65 74 75 72 6e 20 73 63 | 72 69 70 74 0d 65 6e 64 |eturn sc|ript.end|
|000038f0| 20 63 6f 6d 62 69 6e 65 | 73 63 72 69 70 74 73 0d | combine|scripts.|
|00003900| 0d 0d 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a80| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00003a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003aa0| 00 02 e5 50 00 04 30 68 | 00 02 24 5d 00 02 ea 65 |...P..0h|..$]...e|
|00003ab0| 00 02 c5 f0 00 01 e0 4b | 00 01 e4 44 00 00 00 00 |.......K|...D....|
|00003ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c80| 00 00 00 80 4c 49 53 54 | 00 00 0d 4b 00 00 00 01 |....LIST|...K....|
|00003c90| 00 00 08 00 00 00 00 02 | 00 20 00 02 00 07 00 03 |........|. ......|
|00003ca0| 80 00 01 ca 00 00 00 02 | 00 00 00 00 00 00 00 00 |........|........|
|00003cb0| 00 00 0e 44 00 02 00 00 | 00 00 00 00 00 00 00 00 |...D....|........|
|00003cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d00| 00 00 08 00 50 41 47 45 | 00 00 0e 44 00 00 0d 4b |....PAGE|...D...K|
|00003d10| 94 00 01 5a 00 00 00 00 | 00 00 0b 65 60 67 df 83 |...Z....|...e`g..|
|00003d20| d4 37 fc 33 df cf c7 bf | 24 e3 ef 6c ea b2 9b 7b |.7.3....|$..l...{|
|00003d30| d5 f8 ad 9f 2b e5 a8 20 | 00 00 09 68 60 00 00 00 |....+.. |...h`...|
|00003d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004500| 00 00 14 20 42 4b 47 44 | 00 00 0a 5d 00 00 0c f0 |... BKGD|...]....|
|00004510| 00 00 00 00 00 00 00 01 | 00 00 08 50 00 00 08 50 |........|...P...P|
|00004520| 00 04 00 09 00 00 11 1c | 00 00 00 00 00 00 02 dc |........|........|
|00004530| 00 01 02 01 00 16 00 03 | 00 a6 02 00 00 07 00 00 |........|........|
|00004540| 00 00 00 00 00 04 00 09 | 01 00 00 0c 68 61 6e 64 |........|....hand|
|00004550| 6c 65 72 00 00 6f 6e 20 | 6d 6f 75 73 65 75 70 0d |ler..on |mouseup.|
|00004560| 67 6c 6f 62 61 6c 20 68 | 69 74 2c 74 65 6d 70 2c |global h|it,temp,|
|00004570| 61 64 64 72 65 73 73 0d | 70 75 74 20 74 68 65 20 |address.|put the |
|00004580| 63 6c 69 63 6b 6c 6f 63 | 20 69 6e 74 6f 20 6c 6f |clickloc| into lo|
|00004590| 63 0d 70 75 74 20 6c 69 | 6e 65 63 68 6f 6f 73 65 |c.put li|nechoose|
|000045a0| 6e 28 6c 6f 63 29 20 69 | 6e 74 6f 20 68 69 74 0d |n(loc) i|nto hit.|
|000045b0| 70 75 74 20 6c 69 6e 65 | 20 68 69 74 20 6f 66 20 |put line| hit of |
|000045c0| 62 6b 67 6e 64 20 66 69 | 65 6c 64 20 22 68 61 6e |bkgnd fi|eld "han|
|000045d0| 64 6c 65 72 22 20 69 6e | 74 6f 20 74 65 6d 70 0d |dler" in|to temp.|
|000045e0| 2d 2d 67 65 74 20 74 68 | 65 20 61 64 64 72 65 73 |--get th|e addres|
|000045f0| 73 20 6f 66 20 74 68 65 | 20 6f 62 6a 65 63 74 28 |s of the| object(|
|00004600| 63 61 72 64 20 62 75 74 | 74 6f 6e 20 22 74 65 73 |card but|ton "tes|
|00004610| 74 22 20 6f 66 20 63 61 | 72 64 20 22 68 75 68 3f |t" of ca|rd "huh?|
|00004620| 22 29 0d 70 75 74 20 66 | 69 6e 64 69 74 65 6d 6e |").put f|inditemn|
|00004630| 61 6d 65 28 74 65 6d 70 | 29 20 69 6e 74 6f 20 61 |ame(temp|) into a|
|00004640| 64 64 72 65 73 73 0d 69 | 66 20 61 64 64 72 65 73 |ddress.i|f addres|
|00004650| 73 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |s is emp|ty then.|
|00004660| 70 75 74 20 22 53 6f 72 | 72 79 2e 20 54 68 69 73 |put "Sor|ry. This|
|00004670| 20 6c 69 6e 65 20 64 6f | 65 73 6e 27 74 20 63 6f | line do|esn't co|
|00004680| 6e 74 61 69 6e 20 74 68 | 65 20 6e 61 6d 65 20 6f |ntain th|e name o|
|00004690| 66 20 61 6e 20 6f 62 6a | 65 63 74 2e 22 0d 65 78 |f an obj|ect.".ex|
|000046a0| 69 74 20 6d 6f 75 73 65 | 75 70 0d 65 6e 64 20 69 |it mouse|up.end i|
|000046b0| 66 0d 2d 2d 61 64 64 72 | 65 73 73 65 73 20 61 72 |f.--addr|esses ar|
|000046c0| 65 20 6f 66 20 74 77 6f | 20 74 79 70 65 73 20 74 |e of two| types t|
|000046d0| 68 6f 73 65 20 74 68 61 | 74 20 77 6f 72 6b 20 66 |hose tha|t work f|
|000046e0| 72 6f 6d 20 61 6e 79 77 | 68 65 72 65 0d 2d 2d 22 |rom anyw|here.--"|
|000046f0| 65 64 69 74 20 74 68 65 | 20 73 63 72 69 70 74 20 |edit the| script |
|00004700| 6f 66 20 74 68 69 73 20 | 73 74 61 63 6b 22 20 66 |of this |stack" f|
|00004710| 6f 72 20 65 78 61 6d 70 | 6c 65 20 6f 72 20 74 68 |or examp|le or th|
|00004720| 6f 73 65 20 74 68 61 74 | 20 6f 6e 6c 79 0d 2d 2d |ose that| only.--|
|00004730| 77 6f 72 6b 20 69 6e 20 | 61 20 62 6b 67 6e 64 20 |work in |a bkgnd |
|00004740| 6f 72 20 63 61 72 64 20 | 73 75 63 68 20 61 73 20 |or card |such as |
|00004750| 22 65 64 69 74 20 74 68 | 65 20 73 63 72 69 70 74 |"edit th|e script|
|00004760| 20 6f 66 20 62 75 74 74 | 6f 6e 20 22 74 65 73 74 | of butt|on "test|
|00004770| 22 22 0d 69 66 20 69 74 | 65 6d 20 32 20 6f 66 20 |"".if it|em 2 of |
|00004780| 61 64 64 72 65 73 73 20 | 69 73 20 20 65 6d 70 74 |address |is empt|
|00004790| 79 20 74 68 65 6e 0d 65 | 64 69 74 20 74 68 65 20 |y then.e|dit the |
|000047a0| 73 63 72 69 70 74 20 6f | 66 20 61 64 64 72 65 73 |script o|f addres|
|000047b0| 73 0d 65 6c 73 65 0d 67 | 6f 20 74 6f 20 28 69 74 |s.else.g|o to (it|
|000047c0| 65 6d 20 32 20 6f 66 20 | 61 64 64 72 65 73 73 29 |em 2 of |address)|
|000047d0| 0d 65 64 69 74 20 74 68 | 65 20 73 63 72 69 70 74 |.edit th|e script|
|000047e0| 20 6f 66 20 69 74 65 6d | 20 31 20 6f 66 20 61 64 | of item| 1 of ad|
|000047f0| 64 72 65 73 73 0d 65 6e | 64 20 69 66 0d 65 6e 64 |dress.en|d if.end|
|00004800| 20 6d 6f 75 73 65 75 70 | 0d 00 01 dc 00 02 02 01 | mouseup|........|
|00004810| 00 c0 00 00 01 42 02 00 | 00 07 00 00 00 00 00 00 |.....B..|........|
|00004820| 00 04 00 09 01 00 00 0c | 66 75 6e 63 74 69 6f 6e |........|function|
|00004830| 73 00 00 6f 6e 20 6d 6f | 75 73 65 75 70 0d 67 6c |s..on mo|useup.gl|
|00004840| 6f 62 61 6c 20 68 69 74 | 2c 74 65 6d 70 2c 61 64 |obal hit|,temp,ad|
|00004850| 64 72 65 73 73 0d 70 75 | 74 20 74 68 65 20 63 6c |dress.pu|t the cl|
|00004860| 69 63 6b 6c 6f 63 20 69 | 6e 74 6f 20 6c 6f 63 0d |ickloc i|nto loc.|
|00004870| 70 75 74 20 6c 69 6e 65 | 63 68 6f 6f 73 65 6e 28 |put line|choosen(|
|00004880| 6c 6f 63 29 20 69 6e 74 | 6f 20 68 69 74 0d 70 75 |loc) int|o hit.pu|
|00004890| 74 20 6c 69 6e 65 20 68 | 69 74 20 6f 66 20 62 6b |t line h|it of bk|
|000048a0| 67 6e 64 20 66 69 65 6c | 64 20 22 66 75 6e 63 74 |gnd fiel|d "funct|
|000048b0| 69 6f 6e 73 22 20 69 6e | 74 6f 20 74 65 6d 70 0d |ions" in|to temp.|
|000048c0| 70 75 74 20 66 69 6e 64 | 69 74 65 6d 6e 61 6d 65 |put find|itemname|
|000048d0| 28 74 65 6d 70 29 20 69 | 6e 74 6f 20 61 64 64 72 |(temp) i|nto addr|
|000048e0| 65 73 73 0d 69 66 20 61 | 64 64 72 65 73 73 20 69 |ess.if a|ddress i|
|000048f0| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 70 75 74 |s empty |then.put|
|00004900| 20 22 53 6f 72 72 79 2e | 20 54 68 69 73 20 6c 69 | "Sorry.| This li|
|00004910| 6e 65 20 64 6f 65 73 6e | 27 74 20 63 6f 6e 74 61 |ne doesn|'t conta|
|00004920| 69 6e 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 61 |in the n|ame of a|
|00004930| 6e 20 6f 62 6a 65 63 74 | 2e 22 0d 65 78 69 74 20 |n object|.".exit |
|00004940| 6d 6f 75 73 65 75 70 0d | 65 6e 64 20 69 66 0d 69 |mouseup.|end if.i|
|00004950| 66 20 69 74 65 6d 20 32 | 20 6f 66 20 61 64 64 72 |f item 2| of addr|
|00004960| 65 73 73 20 69 73 20 20 | 65 6d 70 74 79 20 74 68 |ess is |empty th|
|00004970| 65 6e 0d 65 64 69 74 20 | 74 68 65 20 73 63 72 69 |en.edit |the scri|
|00004980| 70 74 20 6f 66 20 61 64 | 64 72 65 73 73 0d 65 6c |pt of ad|dress.el|
|00004990| 73 65 0d 67 6f 20 74 6f | 20 28 69 74 65 6d 20 32 |se.go to| (item 2|
|000049a0| 20 6f 66 20 61 64 64 72 | 65 73 73 29 0d 65 64 69 | of addr|ess).edi|
|000049b0| 74 20 74 68 65 20 73 63 | 72 69 70 74 20 6f 66 20 |t the sc|ript of |
|000049c0| 69 74 65 6d 20 31 20 6f | 66 20 61 64 64 72 65 73 |item 1 o|f addres|
|000049d0| 73 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 6d 6f 75 |s.end if|.end mou|
|000049e0| 73 65 75 70 0d 00 07 5e | 00 07 01 00 01 44 01 10 |seup...^|.....D..|
|000049f0| 01 56 01 5d 80 03 00 00 | 00 00 00 01 00 00 00 0c |.V.]....|........|
|00004a00| 00 00 00 10 46 69 6e 64 | 20 53 74 72 69 6e 67 00 |....Find| String.|
|00004a10| 00 6f 6e 20 6d 6f 75 73 | 65 64 6f 77 6e 0d 2d 2d |.on mous|edown.--|
|00004a20| 54 68 69 73 20 69 73 20 | 61 20 6d 6f 75 73 65 64 |This is |a moused|
|00004a30| 6f 77 6e 20 68 61 6e 64 | 6c 65 72 20 74 6f 20 61 |own hand|ler to a|
|00004a40| 6c 6c 6f 77 20 74 68 65 | 20 75 73 65 20 6f 66 20 |llow the| use of |
|00004a50| 74 68 65 20 70 6f 70 75 | 70 20 6d 65 6e 75 0d 67 |the popu|p menu.g|
|00004a60| 6c 6f 62 61 6c 20 6c 61 | 73 74 66 6f 75 6e 64 6c |lobal la|stfoundl|
|00004a70| 69 6e 65 2c 6c 61 73 74 | 66 6f 75 6e 64 63 68 61 |ine,last|foundcha|
|00004a80| 72 2c 66 69 6e 64 73 74 | 72 69 6e 67 2c 63 6f 6d |r,findst|ring,com|
|00004a90| 6d 65 6e 74 66 6c 61 67 | 2c 66 69 65 6c 64 6e 61 |mentflag|,fieldna|
|00004aa0| 6d 65 0d 70 75 74 20 22 | 48 61 6e 64 6c 65 72 73 |me.put "|Handlers|
|00004ab0| 2c 46 75 6e 63 74 69 6f | 6e 73 2c 42 6f 74 68 2c |,Functio|ns,Both,|
|00004ac0| 43 61 6e 63 65 6c 22 20 | 69 6e 74 6f 20 6c 69 73 |Cancel" |into lis|
|00004ad0| 74 0d 70 75 74 20 74 68 | 65 20 63 6c 69 63 6b 6c |t.put th|e clickl|
|00004ae0| 6f 63 20 69 6e 74 6f 20 | 6c 6f 63 0d 70 75 74 20 |oc into |loc.put |
|00004af0| 70 6f 70 6d 65 6e 75 28 | 6c 69 73 74 2c 6c 6f 63 |popmenu(|list,loc|
|00004b00| 29 20 69 6e 74 6f 20 63 | 6f 6d 6d 65 6e 74 66 6c |) into c|ommentfl|
|00004b10| 61 67 0d 2d 2d 65 78 69 | 74 20 69 66 20 74 68 65 |ag.--exi|t if the|
|00004b20| 20 75 73 65 72 20 64 69 | 64 6e 27 74 20 6d 61 6b | user di|dn't mak|
|00004b30| 65 20 61 20 73 65 6c 65 | 63 74 69 6f 6e 20 6f 72 |e a sele|ction or|
|00004b40| 20 68 65 20 73 65 6c 65 | 63 74 65 64 20 22 43 61 | he sele|cted "Ca|
|00004b50| 6e 63 65 6c 22 0d 69 66 | 20 63 6f 6d 6d 65 6e 74 |ncel".if| comment|
|00004b60| 66 6c 61 67 20 3c 20 31 | 20 6f 72 20 63 6f 6d 6d |flag < 1| or comm|
|00004b70| 65 6e 74 66 6c 61 67 20 | 3d 20 74 68 65 20 6e 75 |entflag |= the nu|
|00004b80| 6d 62 65 72 20 6f 66 20 | 69 74 65 6d 73 20 69 6e |mber of |items in|
|00004b90| 20 6c 69 73 74 c2 0d 74 | 68 65 6e 20 65 78 69 74 | list..t|hen exit|
|00004ba0| 20 6d 6f 75 73 65 64 6f | 77 6e 0d 70 75 74 20 65 | mousedo|wn.put e|
|00004bb0| 6d 70 74 79 20 69 6e 74 | 6f 20 6c 61 73 74 66 6f |mpty int|o lastfo|
|00004bc0| 75 6e 64 6c 69 6e 65 0d | 70 75 74 20 65 6d 70 74 |undline.|put empt|
|00004bd0| 79 20 69 6e 74 6f 20 6c | 61 73 74 66 6f 75 6e 64 |y into l|astfound|
|00004be0| 63 68 61 72 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |char.put| empty i|
|00004bf0| 6e 74 6f 20 66 69 6e 64 | 73 74 72 69 6e 67 0d 61 |nto find|string.a|
|00004c00| 73 6b 20 22 45 6e 74 65 | 72 20 74 68 65 20 73 74 |sk "Ente|r the st|
|00004c10| 72 69 6e 67 20 74 6f 20 | 66 69 6e 64 22 0d 2d 2d |ring to |find".--|
|00004c20| 43 6f 6e 74 69 6e 75 65 | 20 6f 6e 6c 79 20 69 66 |Continue| only if|
|00004c30| 20 74 68 65 20 75 73 65 | 72 20 64 69 64 6e 27 74 | the use|r didn't|
|00004c40| 20 63 61 6e 63 65 6c 20 | 6f 72 20 6e 6f 74 20 65 | cancel |or not e|
|00004c50| 6e 74 65 72 20 61 20 73 | 74 72 69 6e 67 0d 69 66 |nter a s|tring.if|
|00004c60| 20 69 74 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 | it is n|ot empty|
|00004c70| 20 74 68 65 6e 0d 70 75 | 74 20 69 74 20 69 6e 74 | then.pu|t it int|
|00004c80| 6f 20 66 69 6e 64 73 74 | 72 69 6e 67 0d 2d 2d 20 |o findst|ring.-- |
|00004c90| 6c 65 74 20 74 68 65 20 | 75 73 65 72 20 6b 6e 6f |let the |user kno|
|00004ca0| 77 20 73 6f 6d 65 74 68 | 69 6e 67 20 69 73 20 67 |w someth|ing is g|
|00004cb0| 6f 69 6e 67 20 6f 6e 0d | 73 65 74 20 74 68 65 20 |oing on.|set the |
|00004cc0| 63 75 72 73 6f 72 20 74 | 6f 20 77 61 74 63 68 0d |cursor t|o watch.|
|00004cd0| 69 66 20 63 6f 6d 6d 65 | 6e 74 66 6c 61 67 20 3d |if comme|ntflag =|
|00004ce0| 20 31 20 6f 72 20 63 6f | 6d 6d 65 6e 74 66 6c 61 | 1 or co|mmentfla|
|00004cf0| 67 20 3d 33 20 74 68 65 | 6e 0d 70 75 74 20 62 6b |g =3 the|n.put bk|
|00004d00| 67 6e 64 20 66 69 65 6c | 64 20 22 68 61 6e 64 6c |gnd fiel|d "handl|
|00004d10| 65 72 22 20 69 6e 74 6f | 20 74 65 6d 70 31 0d 70 |er" into| temp1.p|
|00004d20| 75 74 20 20 66 69 6e 64 | 6c 6f 63 28 74 65 6d 70 |ut find|loc(temp|
|00004d30| 31 2c 66 69 6e 64 73 74 | 72 69 6e 67 29 20 69 6e |1,findst|ring) in|
|00004d40| 74 6f 20 74 65 6d 70 32 | 0d 2d 2d 69 66 20 61 20 |to temp2|.--if a |
|00004d50| 6d 61 74 63 68 20 77 61 | 73 20 66 6f 75 6e 64 0d |match wa|s found.|
|00004d60| 69 66 20 74 65 6d 70 32 | 20 69 73 20 6e 6f 74 20 |if temp2| is not |
|00004d70| 65 6d 70 74 79 20 74 68 | 65 6e 0d 70 75 74 20 69 |empty th|en.put i|
|00004d80| 74 65 6d 20 31 20 6f 66 | 20 74 65 6d 70 32 20 69 |tem 1 of| temp2 i|
|00004d90| 6e 74 6f 20 6c 61 73 74 | 66 6f 75 6e 64 6c 69 6e |nto last|foundlin|
|00004da0| 65 0d 70 75 74 20 69 74 | 65 6d 20 32 20 6f 66 20 |e.put it|em 2 of |
|00004db0| 74 65 6d 70 32 20 69 6e | 74 6f 20 6c 61 73 74 66 |temp2 in|to lastf|
|00004dc0| 6f 75 6e 64 63 68 61 72 | 0d 2d 2d 73 63 72 6f 6c |oundchar|.--scrol|
|00004dd0| 6c 20 74 68 65 20 66 69 | 65 6c 64 20 74 6f 20 73 |l the fi|eld to s|
|00004de0| 68 6f 77 20 74 68 65 20 | 6d 61 74 63 68 0d 70 75 |how the |match.pu|
|00004df0| 74 20 67 65 74 73 63 72 | 6f 6c 6c 6c 69 6e 65 28 |t getscr|ollline(|
|00004e00| 6c 61 73 74 66 6f 75 6e | 64 6c 69 6e 65 2c 22 62 |lastfoun|dline,"b|
|00004e10| 6b 67 6e 64 20 66 69 65 | 6c 64 20 68 61 6e 64 6c |kgnd fie|ld handl|
|00004e20| 65 72 22 29 20 69 6e 74 | 6f 20 73 63 72 6f 6c 6c |er") int|o scroll|
|00004e30| 0d 73 65 74 20 74 68 65 | 20 73 63 72 6f 6c 6c 20 |.set the| scroll |
|00004e40| 6f 66 20 62 6b 67 6e 64 | 20 66 69 65 6c 64 20 22 |of bkgnd| field "|
|00004e50| 68 61 6e 64 6c 65 72 22 | 20 74 6f 20 73 63 72 6f |handler"| to scro|
|00004e60| 6c 6c 0d 2d 2d 73 65 6c | 65 63 74 20 74 68 65 20 |ll.--sel|ect the |
|00004e70| 6c 69 6e 65 20 77 69 74 | 68 20 74 68 65 20 6d 61 |line wit|h the ma|
|00004e80| 74 63 68 20 73 6f 20 69 | 74 20 61 70 70 65 61 72 |tch so i|t appear|
|00004e90| 73 20 69 6e 20 69 6e 76 | 65 72 73 65 0d 73 65 6c |s in inv|erse.sel|
|00004ea0| 65 63 74 20 6c 69 6e 65 | 20 6c 61 73 74 66 6f 75 |ect line| lastfou|
|00004eb0| 6e 64 6c 69 6e 65 20 6f | 66 20 62 6b 67 6e 64 20 |ndline o|f bkgnd |
|00004ec0| 66 69 65 6c 64 20 22 68 | 61 6e 64 6c 65 72 22 0d |field "h|andler".|
|00004ed0| 70 75 74 20 22 68 61 6e | 64 6c 65 72 22 20 69 6e |put "han|dler" in|
|00004ee0| 74 6f 20 66 69 65 6c 64 | 6e 61 6d 65 0d 65 78 69 |to field|name.exi|
|00004ef0| 74 20 6d 6f 75 73 65 64 | 6f 77 6e 0d 65 6e 64 20 |t moused|own.end |
|00004f00| 69 66 0d 65 6e 64 20 69 | 66 0d 2d 2d 69 66 20 74 |if.end i|f.--if t|
|00004f10| 68 65 20 75 73 65 72 20 | 77 61 6e 74 65 64 20 6f |he user |wanted o|
|00004f20| 6e 6c 79 20 66 75 6e 63 | 74 69 6f 6e 73 20 6f 72 |nly func|tions or|
|00004f30| 20 62 6f 74 68 20 73 65 | 61 72 63 68 65 64 0d 69 | both se|arched.i|
|00004f40| 66 20 63 6f 6d 6d 65 6e | 74 66 6c 61 67 20 3e 20 |f commen|tflag > |
|00004f50| 31 20 74 68 65 6e 0d 70 | 75 74 20 62 6b 67 6e 64 |1 then.p|ut bkgnd|
|00004f60| 20 66 69 65 6c 64 20 22 | 66 75 6e 63 74 69 6f 6e | field "|function|
|00004f70| 73 22 20 69 6e 74 6f 20 | 74 65 6d 70 31 0d 70 75 |s" into |temp1.pu|
|00004f80| 74 20 20 66 69 6e 64 6c | 6f 63 28 74 65 6d 70 31 |t findl|oc(temp1|
|00004f90| 2c 66 69 6e 64 73 74 72 | 69 6e 67 29 20 69 6e 74 |,findstr|ing) int|
|00004fa0| 6f 20 74 65 6d 70 32 0d | 69 66 20 74 65 6d 70 32 |o temp2.|if temp2|
|00004fb0| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00004fc0| 65 6e 0d 70 75 74 20 69 | 74 65 6d 20 31 20 6f 66 |en.put i|tem 1 of|
|00004fd0| 20 74 65 6d 70 32 20 69 | 6e 74 6f 20 6c 61 73 74 | temp2 i|nto last|
|00004fe0| 66 6f 75 6e 64 6c 69 6e | 65 0d 70 75 74 20 69 74 |foundlin|e.put it|
|00004ff0| 65 6d 20 32 20 6f 66 20 | 74 65 6d 70 32 20 69 6e |em 2 of |temp2 in|
|00005000| 74 6f 20 6c 61 73 74 66 | 6f 75 6e 64 63 68 61 72 |to lastf|oundchar|
|00005010| 0d 70 75 74 20 67 65 74 | 73 63 72 6f 6c 6c 6c 69 |.put get|scrollli|
|00005020| 6e 65 28 6c 61 73 74 66 | 6f 75 6e 64 6c 69 6e 65 |ne(lastf|oundline|
|00005030| 2c 22 62 6b 67 6e 64 20 | 66 69 65 6c 64 20 66 75 |,"bkgnd |field fu|
|00005040| 6e 63 74 69 6f 6e 73 22 | 29 20 69 6e 74 6f 20 73 |nctions"|) into s|
|00005050| 63 72 6f 6c 6c 0d 73 65 | 74 20 74 68 65 20 73 63 |croll.se|t the sc|
|00005060| 72 6f 6c 6c 20 6f 66 20 | 62 6b 67 6e 64 20 66 69 |roll of |bkgnd fi|
|00005070| 65 6c 64 20 22 66 75 6e | 63 74 69 6f 6e 73 22 20 |eld "fun|ctions" |
|00005080| 74 6f 20 73 63 72 6f 6c | 6c 0d 73 65 6c 65 63 74 |to scrol|l.select|
|00005090| 20 6c 69 6e 65 20 6c 61 | 73 74 66 6f 75 6e 64 6c | line la|stfoundl|
|000050a0| 69 6e 65 20 6f 66 20 62 | 6b 67 6e 64 20 66 69 65 |ine of b|kgnd fie|
|000050b0| 6c 64 20 22 66 75 6e 63 | 74 69 6f 6e 73 22 0d 70 |ld "func|tions".p|
|000050c0| 75 74 20 22 66 75 6e 63 | 74 69 6f 6e 73 22 20 69 |ut "func|tions" i|
|000050d0| 6e 74 6f 20 66 69 65 6c | 64 6e 61 6d 65 0d 65 78 |nto fiel|dname.ex|
|000050e0| 69 74 20 6d 6f 75 73 65 | 64 6f 77 6e 0d 65 6e 64 |it mouse|down.end|
|000050f0| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 | if.end |if.end i|
|00005100| 66 0d 70 75 74 20 22 53 | 6f 72 72 79 20 74 68 65 |f.put "S|orry the|
|00005110| 20 73 74 72 69 6e 67 20 | 77 61 73 20 6e 6f 74 20 | string |was not |
|00005120| 66 6f 75 6e 64 22 20 69 | 6e 74 6f 20 6d 65 73 73 |found" i|nto mess|
|00005130| 61 67 65 0d 65 6e 64 20 | 6d 6f 75 73 65 64 6f 77 |age.end |mousedow|
|00005140| 6e 0d 00 00 05 06 00 08 | 01 00 01 44 01 63 01 56 |n.......|...D.c.V|
|00005150| 01 a7 80 03 00 00 00 00 | 00 01 00 00 00 0c 00 00 |........|........|
|00005160| 00 10 46 69 6e 64 20 4e | 65 78 74 00 00 6f 6e 20 |..Find N|ext..on |
|00005170| 6d 6f 75 73 65 55 70 0d | 67 6c 6f 62 61 6c 20 6c |mouseUp.|global l|
|00005180| 61 73 74 66 6f 75 6e 64 | 6c 69 6e 65 2c 6c 61 73 |astfound|line,las|
|00005190| 74 66 6f 75 6e 64 63 68 | 61 72 2c 66 69 6e 64 73 |tfoundch|ar,finds|
|000051a0| 74 72 69 6e 67 2c 63 6f | 6d 6d 65 6e 74 66 6c 61 |tring,co|mmentfla|
|000051b0| 67 2c 66 69 65 6c 64 6e | 61 6d 65 0d 2d 2d 6c 65 |g,fieldn|ame.--le|
|000051c0| 74 20 74 68 65 20 75 73 | 65 72 20 6b 6e 6f 77 20 |t the us|er know |
|000051d0| 73 6f 6d 65 74 68 69 6e | 67 20 69 73 20 67 6f 69 |somethin|g is goi|
|000051e0| 6e 67 20 6f 6e 0d 73 65 | 74 20 74 68 65 20 63 75 |ng on.se|t the cu|
|000051f0| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 69 66 |rsor to |watch.if|
|00005200| 20 28 63 6f 6d 6d 65 6e | 74 66 6c 61 67 20 3d 20 | (commen|tflag = |
|00005210| 31 20 6f 72 20 63 6f 6d | 6d 65 6e 74 66 6c 61 67 |1 or com|mentflag|
|00005220| 20 3d 33 29 20 61 6e 64 | 20 66 69 65 6c 64 6e 61 | =3) and| fieldna|
|00005230| 6d 65 20 3d 20 22 68 61 | 6e 64 6c 65 72 22 20 74 |me = "ha|ndler" t|
|00005240| 68 65 6e 0d 2d 2d 73 65 | 61 72 63 68 20 74 68 65 |hen.--se|arch the|
|00005250| 20 72 65 73 74 20 6f 66 | 20 74 68 65 20 66 69 65 | rest of| the fie|
|00005260| 6c 64 20 61 66 74 65 72 | 20 74 68 65 20 6c 61 73 |ld after| the las|
|00005270| 74 20 6d 61 74 63 68 20 | 66 6f 72 20 74 68 65 20 |t match |for the |
|00005280| 6e 65 78 74 0d 2d 2d 6d | 61 74 63 68 0d 70 75 74 |next.--m|atch.put|
|00005290| 20 6c 69 6e 65 20 6c 61 | 73 74 66 6f 75 6e 64 6c | line la|stfoundl|
|000052a0| 69 6e 65 20 2b 20 31 20 | 74 6f 20 28 74 68 65 20 |ine + 1 |to (the |
|000052b0| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines |
|000052c0| 69 6e 20 62 6b 67 6e 64 | 20 66 69 65 6c 64 c2 0d |in bkgnd| field..|
|000052d0| 22 68 61 6e 64 6c 65 72 | 22 29 20 6f 66 20 62 6b |"handler|") of bk|
|000052e0| 67 6e 64 20 66 69 65 6c | 64 20 22 68 61 6e 64 6c |gnd fiel|d "handl|
|000052f0| 65 72 22 20 69 6e 74 6f | 20 74 65 6d 70 31 0d 70 |er" into| temp1.p|
|00005300| 75 74 20 20 66 69 6e 64 | 6c 6f 63 28 74 65 6d 70 |ut find|loc(temp|
|00005310| 31 2c 66 69 6e 64 73 74 | 72 69 6e 67 29 20 69 6e |1,findst|ring) in|
|00005320| 74 6f 20 74 65 6d 70 32 | 0d 69 66 20 74 65 6d 70 |to temp2|.if temp|
|00005330| 32 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |2 is not| empty t|
|00005340| 68 65 6e 0d 61 64 64 20 | 69 74 65 6d 20 31 20 6f |hen.add |item 1 o|
|00005350| 66 20 74 65 6d 70 32 20 | 74 6f 20 6c 61 73 74 66 |f temp2 |to lastf|
|00005360| 6f 75 6e 64 6c 69 6e 65 | 0d 70 75 74 20 67 65 74 |oundline|.put get|
|00005370| 73 63 72 6f 6c 6c 6c 69 | 6e 65 28 6c 61 73 74 66 |scrollli|ne(lastf|
|00005380| 6f 75 6e 64 6c 69 6e 65 | 2c 22 62 6b 67 6e 64 20 |oundline|,"bkgnd |
|00005390| 66 69 65 6c 64 20 68 61 | 6e 64 6c 65 72 22 29 20 |field ha|ndler") |
|000053a0| 69 6e 74 6f 20 73 63 72 | 6f 6c 6c 0d 73 65 74 20 |into scr|oll.set |
|000053b0| 74 68 65 20 73 63 72 6f | 6c 6c 20 6f 66 20 62 6b |the scro|ll of bk|
|000053c0| 67 6e 64 20 66 69 65 6c | 64 20 22 68 61 6e 64 6c |gnd fiel|d "handl|
|000053d0| 65 72 22 20 74 6f 20 73 | 63 72 6f 6c 6c 0d 73 65 |er" to s|croll.se|
|000053e0| 6c 65 63 74 20 6c 69 6e | 65 20 6c 61 73 74 66 6f |lect lin|e lastfo|
|000053f0| 75 6e 64 6c 69 6e 65 20 | 6f 66 20 62 6b 67 6e 64 |undline |of bkgnd|
|00005400| 20 66 69 65 6c 64 20 22 | 68 61 6e 64 6c 65 72 22 | field "|handler"|
|00005410| 0d 65 78 69 74 20 6d 6f | 75 73 65 75 70 0d 65 6e |.exit mo|useup.en|
|00005420| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 69 66 20 63 |d if.end| if.if c|
|00005430| 6f 6d 6d 65 6e 74 66 6c | 61 67 20 3e 20 31 20 74 |ommentfl|ag > 1 t|
|00005440| 68 65 6e 0d 70 75 74 20 | 6c 69 6e 65 20 6c 61 73 |hen.put |line las|
|00005450| 74 66 6f 75 6e 64 6c 69 | 6e 65 20 2b 20 31 20 74 |tfoundli|ne + 1 t|
|00005460| 6f 20 28 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |o (the n|umber of|
|00005470| 20 6c 69 6e 65 73 20 69 | 6e 20 62 6b 67 6e 64 20 | lines i|n bkgnd |
|00005480| 66 69 65 6c 64 c2 0d 22 | 66 75 6e 63 74 69 6f 6e |field.."|function|
|00005490| 73 22 29 20 6f 66 20 62 | 6b 67 6e 64 20 66 69 65 |s") of b|kgnd fie|
|000054a0| 6c 64 20 22 66 75 6e 63 | 74 69 6f 6e 73 22 20 69 |ld "func|tions" i|
|000054b0| 6e 74 6f 20 74 65 6d 70 | 31 0d 70 75 74 20 20 66 |nto temp|1.put f|
|000054c0| 69 6e 64 6c 6f 63 28 74 | 65 6d 70 31 2c 66 69 6e |indloc(t|emp1,fin|
|000054d0| 64 73 74 72 69 6e 67 29 | 20 69 6e 74 6f 20 74 65 |dstring)| into te|
|000054e0| 6d 70 32 0d 69 66 20 74 | 65 6d 70 32 20 69 73 20 |mp2.if t|emp2 is |
|000054f0| 6e 6f 74 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 61 |not empt|y then.a|
|00005500| 64 64 20 69 74 65 6d 20 | 31 20 6f 66 20 74 65 6d |dd item |1 of tem|
|00005510| 70 32 20 74 6f 20 6c 61 | 73 74 66 6f 75 6e 64 6c |p2 to la|stfoundl|
|00005520| 69 6e 65 0d 70 75 74 20 | 69 74 65 6d 20 32 20 6f |ine.put |item 2 o|
|00005530| 66 20 74 65 6d 70 32 20 | 69 6e 74 6f 20 6c 61 73 |f temp2 |into las|
|00005540| 74 66 6f 75 6e 64 63 68 | 61 72 0d 70 75 74 20 67 |tfoundch|ar.put g|
|00005550| 65 74 73 63 72 6f 6c 6c | 6c 69 6e 65 28 6c 61 73 |etscroll|line(las|
|00005560| 74 66 6f 75 6e 64 6c 69 | 6e 65 2c 22 62 6b 67 6e |tfoundli|ne,"bkgn|
|00005570| 64 20 66 69 65 6c 64 20 | 66 75 6e 63 74 69 6f 6e |d field |function|
|00005580| 73 22 29 20 69 6e 74 6f | 20 73 63 72 6f 6c 6c 0d |s") into| scroll.|
|00005590| 73 65 74 20 74 68 65 20 | 73 63 72 6f 6c 6c 20 6f |set the |scroll o|
|000055a0| 66 20 62 6b 67 6e 64 20 | 66 69 65 6c 64 20 22 66 |f bkgnd |field "f|
|000055b0| 75 6e 63 74 69 6f 6e 73 | 22 20 74 6f 20 73 63 72 |unctions|" to scr|
|000055c0| 6f 6c 6c 0d 73 65 6c 65 | 63 74 20 6c 69 6e 65 20 |oll.sele|ct line |
|000055d0| 6c 61 73 74 66 6f 75 6e | 64 6c 69 6e 65 20 6f 66 |lastfoun|dline of|
|000055e0| 20 62 6b 67 6e 64 20 66 | 69 65 6c 64 20 22 66 75 | bkgnd f|ield "fu|
|000055f0| 6e 63 74 69 6f 6e 73 22 | 0d 65 78 69 74 20 6d 6f |nctions"|.exit mo|
|00005600| 75 73 65 75 70 0d 65 6e | 64 20 69 66 0d 65 6e 64 |useup.en|d if.end|
|00005610| 20 69 66 0d 62 65 65 70 | 0d 70 75 74 20 22 53 6f | if.beep|.put "So|
|00005620| 72 72 79 2e 20 20 4e 6f | 20 6f 74 68 65 72 20 6d |rry. No| other m|
|00005630| 61 74 63 68 20 66 6f 75 | 6e 64 2e 22 0d 65 6e 64 |atch fou|nd.".end|
|00005640| 20 6d 6f 75 73 65 55 70 | 0d 00 68 61 6e 64 6c 65 | mouseUp|..handle|
|00005650| 72 20 6c 69 73 74 73 00 | 66 75 6e 63 74 69 6f 6e |r lists.|function|
|00005660| 20 66 69 6e 64 6c 6f 63 | 20 74 65 6d 70 31 2c 66 | findloc| temp1,f|
|00005670| 69 6e 64 73 74 72 69 6e | 67 0d 2d 2d 69 6e 70 75 |indstrin|g.--inpu|
|00005680| 74 20 73 6f 75 72 63 65 | 2c 61 20 73 74 72 69 6e |t source|,a strin|
|00005690| 67 20 74 6f 20 66 69 6e | 64 20 69 6e 20 73 6f 75 |g to fin|d in sou|
|000056a0| 72 63 65 0d 2d 2d 6f 75 | 74 70 75 74 20 74 68 65 |rce.--ou|tput the|
|000056b0| 20 6c 69 6e 65 20 66 6f | 75 6e 64 20 69 6e 2c 74 | line fo|und in,t|
|000056c0| 68 65 20 63 68 61 72 61 | 63 74 65 72 20 6e 75 6d |he chara|cter num|
|000056d0| 62 65 72 20 66 6f 75 6e | 64 20 61 74 0d 2d 2d 20 |ber foun|d at.-- |
|000056e0| 20 20 20 20 20 20 69 66 | 20 74 68 65 20 73 74 72 | if| the str|
|000056f0| 69 6e 67 20 69 73 20 6e | 6f 74 20 66 6f 75 6e 64 |ing is n|ot found|
|00005700| 20 72 65 74 75 72 6e 20 | 65 6d 70 74 79 0d 70 75 | return |empty.pu|
|00005710| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 74 65 6d |t empty |into tem|
|00005720| 70 0d 2d 2d 6c 6f 6f 70 | 20 74 68 72 6f 75 67 68 |p.--loop| through|
|00005730| 20 74 68 65 20 6c 69 6e | 65 73 20 69 6e 20 74 68 | the lin|es in th|
|00005740| 65 20 66 69 65 6c 64 20 | 74 6f 20 66 69 6e 64 20 |e field |to find |
|00005750| 74 68 65 20 66 69 72 73 | 74 20 6d 61 74 63 68 0d |the firs|t match.|
|00005760| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 3d 31 20 |repeat w|ith i=1 |
|00005770| 74 6f 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |to the n|umber of|
|00005780| 20 6c 69 6e 65 73 20 69 | 6e 20 74 65 6d 70 31 0d | lines i|n temp1.|
|00005790| 70 75 74 20 6f 66 66 73 | 65 74 28 66 69 6e 64 73 |put offs|et(finds|
|000057a0| 74 72 69 6e 67 2c 6c 69 | 6e 65 20 69 20 6f 66 20 |tring,li|ne i of |
|000057b0| 74 65 6d 70 31 29 20 69 | 6e 74 6f 20 74 65 6d 70 |temp1) i|nto temp|
|000057c0| 63 68 61 72 0d 69 66 20 | 74 65 6d 70 63 68 61 72 |char.if |tempchar|
|000057d0| 20 3e 20 30 20 74 68 65 | 6e 0d 70 75 74 20 69 20 | > 0 the|n.put i |
|000057e0| 69 6e 74 6f 20 69 74 65 | 6d 20 31 20 6f 66 20 74 |into ite|m 1 of t|
|000057f0| 65 6d 70 0d 70 75 74 20 | 74 65 6d 70 63 68 61 72 |emp.put |tempchar|
|00005800| 20 69 6e 74 6f 20 69 74 | 65 6d 20 32 20 6f 66 20 | into it|em 2 of |
|00005810| 74 65 6d 70 0d 65 78 69 | 74 20 72 65 70 65 61 74 |temp.exi|t repeat|
|00005820| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 72 65 70 65 |.end if.|end repe|
|00005830| 61 74 0d 72 65 74 75 72 | 6e 20 74 65 6d 70 0d 65 |at.retur|n temp.e|
|00005840| 6e 64 20 66 69 6e 64 6c | 6f 63 0d 66 75 6e 63 74 |nd findl|oc.funct|
|00005850| 69 6f 6e 20 67 65 74 73 | 63 72 6f 6c 6c 6c 69 6e |ion gets|crolllin|
|00005860| 65 20 6c 6e 75 6d 2c 66 | 6e 61 6d 65 0d 70 75 74 |e lnum,f|name.put|
|00005870| 20 74 68 65 20 74 65 78 | 74 68 65 69 67 68 74 20 | the tex|theight |
|00005880| 6f 66 20 66 6e 61 6d 65 | 20 69 6e 74 6f 20 74 73 |of fname| into ts|
|00005890| 69 7a 65 0d 70 75 74 20 | 74 68 65 20 68 65 69 67 |ize.put |the heig|
|000058a0| 68 74 20 6f 66 20 66 6e | 61 6d 65 20 69 6e 74 6f |ht of fn|ame into|
|000058b0| 20 68 0d 70 75 74 20 6c | 6e 75 6d 2a 74 73 69 7a | h.put l|num*tsiz|
|000058c0| 65 2d 74 72 75 6e 63 28 | 68 2f 32 29 20 69 6e 74 |e-trunc(|h/2) int|
|000058d0| 6f 20 73 63 72 6f 6c 6c | 0d 69 66 20 73 63 72 6f |o scroll|.if scro|
|000058e0| 6c 6c 20 3c 20 30 20 74 | 68 65 6e 20 70 75 74 20 |ll < 0 t|hen put |
|000058f0| 30 20 69 6e 74 6f 20 73 | 63 72 6f 6c 6c 0d 72 65 |0 into s|croll.re|
|00005900| 74 75 72 6e 20 73 63 72 | 6f 6c 6c 0d 65 6e 64 20 |turn scr|oll.end |
|00005910| 67 65 74 73 63 72 6f 6c | 6c 6c 69 6e 65 0d 00 00 |getscrol|lline...|
|00005920| 00 00 04 00 42 4d 41 50 | 00 00 0c f0 00 00 00 00 |....BMAP|........|
|00005930| 00 01 00 00 00 00 00 00 | 01 56 02 00 00 00 00 00 |........|.V......|
|00005940| 01 56 02 00 00 00 00 00 | 01 56 02 00 00 00 00 00 |.V......|.V......|
|00005950| 00 00 00 00 00 00 00 00 | 00 00 03 b8 8e 10 80 e1 |........|........|
|00005960| 10 40 e1 1a 10 e1 03 8d | 10 80 e1 20 44 09 34 01 |.@......|... D.4.|
|00005970| 22 40 24 01 10 3a 09 22 | 30 e1 03 10 80 e1 10 40 |"@$..:."|0......@|
|00005980| 1d 30 2b 30 10 e1 03 8b | e1 2e 02 60 1b 32 e1 04 |.0+0....|...`.2..|
|00005990| e1 2e 02 40 1b 12 e1 04 | e1 2e 04 80 1b 09 e1 04 |...@....|........|
|000059a0| e1 2e 04 80 1b 09 e1 04 | e1 21 07 f0 c2 1f f0 fe |........|.!......|
|000059b0| 01 fe 00 03 fe 1c 1c 3f | 80 00 fe 07 f0 53 ff 87 |.......?|.....S..|
|000059c0| f0 0f f0 e1 05 e1 21 07 | f0 c2 1f f8 ff 03 fe 00 |......!.|........|
|000059d0| 07 ff 1c 3c 7f 80 01 ff | 07 f8 62 01 ff c7 f8 1f |...<....|..b.....|
|000059e0| f0 e1 05 e1 21 07 f0 c2 | 1f ec 19 86 7e 00 0c f9 |....!...|....~...|
|000059f0| 80 64 cf 80 03 39 80 cc | 62 03 3e 60 cc 33 f0 e1 |.d...9..|b.>`.3..|
|00005a00| 05 8d 10 80 e1 10 40 03 | c1 06 60 c0 00 01 86 00 |......@.|..`.....|
|00005a10| cc 33 66 60 33 43 61 80 | 33 06 12 10 e1 03 8b e1 |.3f`3Ca.|3.......|
|00005a20| 03 c2 1f e0 06 60 80 00 | 01 04 01 98 8f 80 00 46 |.....`..|.......F|
|00005a30| 60 33 43 41 00 33 04 e1 | 06 e1 43 3f e0 03 20 13 |`3CA.3..|..C?.. .|
|00005a40| 04 c1 03 30 ef c0 00 03 | 20 19 33 01 00 19 e1 07 |...0....| .3.....|
|00005a50| e1 33 67 e0 01 23 01 fc | c1 82 60 7e 60 00 01 00 |.3g..#..|..`~`...|
|00005a60| 08 33 7f 20 08 e1 07 e1 | 23 4f e0 64 01 f9 83 c0 |.3. ....|#O.d....|
|00005a70| 1f 20 27 7e 60 e1 08 e1 | 13 08 75 01 ff 03 80 e1 |. '~`...|..u.....|
|00005a80| 04 80 26 7f c0 13 09 e1 | 04 e1 13 08 13 80 12 fe |..&.....|........|
|00005a90| 42 f1 04 80 41 65 3f 80 | 00 04 00 09 e1 04 e1 13 |B...Ae?.|........|
|00005aa0| 4f c3 e0 00 04 fe 00 09 | ff 80 00 9f 22 42 7f 20 |O.......|...."B. |
|00005ab0| 00 39 ce 72 7f e0 00 27 | f0 12 e1 04 e1 13 67 c3 |.9.r...'|......g.|
|00005ac0| e0 00 06 7e 00 0c ff 80 | 00 ce 62 63 3e 60 00 39 |...~....|..bc>`.9|
|00005ad0| ce 73 3f e0 00 33 f0 32 | e1 04 8f 10 55 e1 20 15 |.s?..3.2|....U. .|
|00005ae0| 40 2c f0 f0 3a 78 4d 60 | e1 02 8d 10 80 e1 10 40 |@,..:xM`|.......@|
|00005af0| 1d c0 2b 0c 10 e1 03 8b | e1 1f f0 1b 78 e1 04 8d |..+.....|....x...|
|00005b00| 10 80 e1 10 60 e1 1a 30 | e1 03 bf 84 bf 84 bf 84 |....`..0|........|
|00005b10| bf 84 b3 84 8e 1d 10 e2 | 14 40 0d 8d 10 80 1c 18 |........|.@......|
|00005b20| 1e 12 e1 24 90 c0 0d 10 | 80 1c 10 1e 30 e1 24 18 |...$....|....0.$.|
|00005b30| 40 0d 8b 2d 07 fc 15 07 | 37 64 0f 80 14 0e 2c 1c |@..-....|7d....,.|
|00005b40| 98 0e 2d 07 fc 15 07 37 | 4c 1f 80 14 0e 2c 1c c8 |..-....7|L....,..|
|00005b50| 0e 1e fc 17 e0 35 98 33 | 80 25 01 c0 1b 64 0e 1e |.....5.3|.%...d..|
|00005b60| fc 17 e0 35 90 27 80 25 | 01 c0 1b 24 0e e1 16 e0 |...5.'.%|...$....|
|00005b70| 34 01 20 04 26 01 c0 1b | 12 0e e1 16 e0 24 01 20 |4. .&...|.....$. |
|00005b80| 27 01 c0 1b 12 0e 3e ff | 38 39 c3 fc 03 f8 18 f0 |'.....>.|89......|
|00005b90| e0 fe 07 f0 0f e0 00 c7 | f0 73 f8 07 f0 31 e1 c1 |........|.s...1..|
|00005ba0| fc 0f e0 62 01 ff 0f e0 | 1f e0 0f 8d 10 80 1c 10 |...b....|........|
|00005bb0| 33 03 06 06 52 01 81 80 | 0c 18 35 06 0c 0c 42 03 |3...R...|..5...B.|
|00005bc0| 03 00 18 52 03 00 c0 18 | 30 12 40 0d 8b 1e ff 02 |...R....|0.@.....|
|00005bd0| c3 33 0c e6 18 f0 03 39 | 80 cc 33 e0 00 c7 80 00 |.3.....9|..3.....|
|00005be0| 66 19 cc 31 e0 06 73 01 | 98 62 06 7c c1 98 67 e0 |f..1..s.|.b.|..g.|
|00005bf0| 0f 8d 10 80 1c 10 33 0c | c1 98 33 66 60 33 36 19 |......3.|..3f`36.|
|00005c00| 83 30 33 cc c0 66 43 c3 | 00 66 0c 12 40 0d 8b e1 |.03..fC.|.f..@...|
|00005c10| 31 0c c1 1e 53 46 60 33 | 23 e0 34 19 82 3c 33 8c |1...SF`3|#.4..<3.|
|00005c20| c0 66 43 82 00 66 08 e1 | e1 31 06 40 0e 53 03 20 |.fC..f..|.1.@.S. |
|00005c30| 19 3b f0 34 0c 80 1c 33 | 06 40 32 33 02 00 32 e1 |.;.4...3|.@23..2.|
|00005c40| 01 e1 11 02 55 01 00 08 | 1f 98 14 04 35 02 00 10 |....U...|....5...|
|00005c50| 33 fe 40 10 e1 01 e1 2a | 07 c8 e1 20 fc c0 e1 02 |3.@....*|... ....|
|00005c60| e1 3a 38 41 20 2f ff 80 | 13 12 0e 4f 04 40 00 01 |.:8A /..|...O.@..|
|00005c70| 32 80 00 41 22 3c 41 c1 | 20 00 08 80 00 02 00 01 |2..A"<A.| .......|
|00005c80| 12 82 15 7f 32 08 00 12 | 0e 3f 27 c8 00 c4 09 ff |....2...|.?'.....|
|00005c90| 84 f0 02 7f 20 00 27 c8 | 90 00 4f 90 00 13 ff 09 |.... .'.|..O.....|
|00005ca0| e0 04 fe 40 00 73 9c e4 | ff c0 00 4f e0 24 0e 3f |...@.s..|...O.$.?|
|00005cb0| 33 98 00 c4 0c ff 86 70 | 03 3e 60 00 33 98 98 00 |3......p|.>`.3...|
|00005cc0| 67 30 00 19 ff 0c e0 06 | 7c c0 00 73 9c e6 7f c0 |g0......||..s....|
|00005cd0| 00 67 e0 64 0e 8f 10 55 | 2c 05 50 2d 3c 3c e1 33 |.g.d...U|,.P-<<.3|
|00005ce0| f0 25 80 0c 8d 10 80 1c | 10 1e 30 e1 24 18 40 0d |.%......|..0.$.@.|
|00005cf0| 8b e1 1c 3c e1 14 f0 0e | e1 1c 1c e1 14 e0 0e 8d |...<....|........|
|00005d00| 10 80 1c 18 e2 14 c0 0d | bf 84 bf 84 bf 84 bf 84 |........|........|
|00005d10| ba 84 0e 51 75 69 74 20 | 48 79 70 65 72 43 61 72 |...Quit |HyperCar|
|00005d20| 00 00 00 a0 42 4b 47 44 | 00 00 08 50 00 00 00 00 |....BKGD|...P....|
|00005d30| 00 00 00 00 00 00 00 01 | 00 00 0a 5d 00 00 0a 5d |........|...]...]|
|00005d40| 00 01 00 01 00 00 00 52 | 00 00 00 00 00 00 00 52 |.......R|.......R|
|00005d50| 00 01 01 00 00 8c 00 ce | 00 a2 01 32 80 03 00 00 |........|...2....|
|00005d60| 00 00 00 01 00 00 00 0c | 00 00 00 10 62 6f 72 6b |........|....bork|
|00005d70| 00 00 6f 6e 20 6d 6f 75 | 73 65 55 70 0d 74 68 69 |..on mou|seUp.thi|
|00005d80| 73 20 69 73 20 61 20 74 | 65 73 74 20 73 63 72 69 |s is a t|est scri|
|00005d90| 70 74 0d 65 6e 64 20 6d | 6f 75 73 65 55 70 0d 00 |pt.end m|ouseUp..|
|00005da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005dc0| 00 00 28 c0 43 41 52 44 | 00 00 0b 65 00 00 00 00 |..(.CARD|...e....|
|00005dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 0e 44 |........|.......D|
|00005de0| 00 00 0a 5d 00 01 00 02 | 00 00 1c 90 00 02 00 00 |...]....|........|
|00005df0| 02 a8 1c 90 00 02 01 00 | 01 43 00 57 01 56 00 bb |........|.C.W.V..|
|00005e00| 80 03 00 00 00 00 00 01 | 00 00 00 0c 00 00 00 10 |........|........|
|00005e10| 55 70 64 61 74 65 20 4c | 69 73 74 73 00 00 6f 6e |Update L|ists..on|
|00005e20| 20 6d 6f 75 73 65 64 6f | 77 6e 0d 2d 2d 54 68 69 | mousedo|wn.--Thi|
|00005e30| 73 20 61 20 6d 6f 75 73 | 65 64 6f 77 6e 20 68 61 |s a mous|edown ha|
|00005e40| 6e 64 6c 65 72 20 73 6f | 20 74 68 61 74 20 74 68 |ndler so| that th|
|00005e50| 65 20 70 6f 70 75 70 6d | 65 6e 75 20 63 61 6e 20 |e popupm|enu can |
|00005e60| 62 65 20 75 73 65 64 20 | 74 6f 20 6c 65 74 0d 2d |be used |to let.-|
|00005e70| 2d 20 74 68 65 20 75 73 | 65 72 20 70 69 63 6b 20 |- the us|er pick |
|00005e80| 77 68 65 74 68 65 72 20 | 6f 72 20 6e 6f 74 20 74 |whether |or not t|
|00005e90| 68 65 20 6c 69 73 74 69 | 6e 67 20 73 68 6f 75 6c |he listi|ng shoul|
|00005ea0| 64 20 63 6f 6e 74 61 69 | 6e 20 74 68 65 0d 2d 2d |d contai|n the.--|
|00005eb0| 20 63 6f 6d 6d 65 6e 74 | 20 6c 69 6e 65 73 20 69 | comment| lines i|
|00005ec0| 6d 6d 65 64 69 61 74 65 | 6c 79 20 66 6f 6c 6c 6f |mmediate|ly follo|
|00005ed0| 77 69 6e 67 20 74 68 65 | 20 73 74 61 72 74 20 6f |wing the| start o|
|00005ee0| 66 20 68 61 6e 64 6c 65 | 72 73 20 61 6e 64 2f 6f |f handle|rs and/o|
|00005ef0| 72 0d 2d 2d 20 66 75 6e | 63 74 69 6f 6e 73 2e 0d |r.-- fun|ctions..|
|00005f00| 67 6c 6f 62 61 6c 20 6c | 69 6e 65 73 6f 66 63 6f |global l|inesofco|
|00005f10| 64 65 20 20 20 2d 2d 63 | 6f 6e 74 61 69 6e 73 20 |de --c|ontains |
|00005f20| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|00005f30| 6e 65 73 20 6f 66 20 48 | 79 70 65 72 54 61 6c 6b |nes of H|yperTalk|
|00005f40| 0d 67 6c 6f 62 61 6c 20 | 74 65 6d 70 68 61 6e 64 |.global |temphand|
|00005f50| 6c 65 72 6c 69 73 74 2c | 74 65 6d 70 66 75 6e 63 |lerlist,|tempfunc|
|00005f60| 74 69 6f 6e 6c 69 73 74 | 0d 70 75 74 20 30 20 69 |tionlist|.put 0 i|
|00005f70| 6e 74 6f 20 6c 69 6e 65 | 73 6f 66 63 6f 64 65 0d |nto line|sofcode.|
|00005f80| 2d 2d 73 65 74 20 75 70 | 20 74 68 65 20 70 6f 70 |--set up| the pop|
|00005f90| 75 70 6d 65 6e 75 0d 70 | 75 74 20 22 57 69 74 68 |upmenu.p|ut "With|
|00005fa0| 20 63 6f 6d 6d 65 6e 74 | 73 2c 57 69 74 68 6f 75 | comment|s,Withou|
|00005fb0| 74 20 63 6f 6d 6d 65 6e | 74 73 22 20 69 6e 74 6f |t commen|ts" into|
|00005fc0| 20 6c 69 73 74 0d 70 75 | 74 20 74 68 65 20 63 6c | list.pu|t the cl|
|00005fd0| 69 63 6b 6c 6f 63 20 69 | 6e 74 6f 20 6c 6f 63 0d |ickloc i|nto loc.|
|00005fe0| 2d 2d 68 65 72 65 20 77 | 65 20 6c 65 74 20 74 68 |--here w|e let th|
|00005ff0| 65 20 75 73 65 72 20 64 | 65 63 69 64 65 20 77 68 |e user d|ecide wh|
|00006000| 65 74 68 65 72 20 6f 72 | 20 6e 6f 74 20 63 6f 6d |ether or| not com|
|00006010| 6d 65 6e 74 73 20 77 69 | 6c 6c 20 62 65 20 64 69 |ments wi|ll be di|
|00006020| 73 70 6c 61 79 65 64 0d | 70 75 74 20 70 6f 70 6d |splayed.|put popm|
|00006030| 65 6e 75 28 6c 69 73 74 | 2c 6c 6f 63 29 20 69 6e |enu(list|,loc) in|
|00006040| 74 6f 20 63 6f 6d 6d 65 | 6e 74 66 6c 61 67 0d 2d |to comme|ntflag.-|
|00006050| 2d 20 69 66 20 74 68 65 | 20 75 73 65 72 20 63 61 |- if the| user ca|
|00006060| 6e 63 65 6c 73 20 74 68 | 65 6e 20 65 78 69 74 0d |ncels th|en exit.|
|00006070| 69 66 20 63 6f 6d 6d 65 | 6e 74 66 6c 61 67 20 3c |if comme|ntflag <|
|00006080| 20 31 20 74 68 65 6e 20 | 65 78 69 74 20 6d 6f 75 | 1 then |exit mou|
|00006090| 73 65 64 6f 77 6e 0d 2d | 2d 6c 65 74 20 74 68 65 |sedown.-|-let the|
|000060a0| 20 75 73 65 72 20 6b 6e | 6f 77 20 73 6f 6d 65 74 | user kn|ow somet|
|000060b0| 68 69 6e 67 20 69 73 20 | 68 61 70 70 65 6e 69 6e |hing is |happenin|
|000060c0| 67 0d 73 65 74 20 74 68 | 65 20 63 75 72 73 6f 72 |g.set th|e cursor|
|000060d0| 20 74 6f 20 77 61 74 63 | 68 0d 2d 2d 63 6c 65 61 | to watc|h.--clea|
|000060e0| 72 20 74 68 65 20 76 61 | 72 69 61 62 6c 65 73 20 |r the va|riables |
|000060f0| 77 68 69 63 68 20 77 69 | 6c 6c 20 63 6f 6e 74 61 |which wi|ll conta|
|00006100| 69 6e 20 74 68 65 20 6c | 69 73 74 73 0d 70 75 74 |in the l|ists.put|
|00006110| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 68 61 6e 64 | empty i|nto hand|
|00006120| 6c 65 72 6c 69 73 74 0d | 70 75 74 20 65 6d 70 74 |lerlist.|put empt|
|00006130| 79 20 69 6e 74 6f 20 66 | 75 6e 63 74 69 6f 6e 6c |y into f|unctionl|
|00006140| 69 73 74 0d 2d 2d 73 74 | 61 72 74 20 62 79 20 6c |ist.--st|art by l|
|00006150| 6f 6f 6b 69 6e 67 20 74 | 68 72 6f 75 67 68 74 20 |ooking t|hrought |
|00006160| 74 68 65 20 73 74 61 63 | 6b 20 73 63 72 69 70 74 |the stac|k script|
|00006170| 0d 70 75 74 20 74 68 65 | 20 73 63 72 69 70 74 20 |.put the| script |
|00006180| 6f 66 20 74 68 69 73 20 | 73 74 61 63 6b 20 69 6e |of this |stack in|
|00006190| 74 6f 20 74 65 6d 70 0d | 61 64 64 20 74 68 65 20 |to temp.|add the |
|000061a0| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines |
|000061b0| 69 6e 20 74 65 6d 70 20 | 74 6f 20 6c 69 6e 65 73 |in temp |to lines|
|000061c0| 6f 66 63 6f 64 65 0d 2d | 2d 67 65 74 20 61 20 6c |ofcode.-|-get a l|
|000061d0| 69 73 74 20 6f 66 20 74 | 68 65 20 68 61 6e 64 6c |ist of t|he handl|
|000061e0| 65 72 73 20 26 20 66 75 | 6e 63 74 69 6f 6e 73 20 |ers & fu|nctions |
|000061f0| 69 6e 20 74 68 65 20 73 | 74 61 63 6b 20 73 63 72 |in the s|tack scr|
|00006200| 69 70 74 0d 66 69 6e 64 | 68 61 6e 64 6c 65 72 20 |ipt.find|handler |
|00006210| 74 65 6d 70 2c 22 53 54 | 41 43 4b 22 2c 63 6f 6d |temp,"ST|ACK",com|
|00006220| 6d 65 6e 74 66 6c 61 67 | 0d 70 75 74 20 74 65 6d |mentflag|.put tem|
|00006230| 70 68 61 6e 64 6c 65 72 | 6c 69 73 74 20 69 6e 74 |phandler|list int|
|00006240| 6f 20 68 61 6e 64 6c 65 | 72 6c 69 73 74 0d 70 75 |o handle|rlist.pu|
|00006250| 74 20 74 65 6d 70 66 75 | 6e 63 74 69 6f 6e 6c 69 |t tempfu|nctionli|
|00006260| 73 74 20 69 6e 74 6f 20 | 66 75 6e 63 74 69 6f 6e |st into |function|
|00006270| 6c 69 73 74 0d 2d 2d 68 | 65 72 65 20 67 6f 20 74 |list.--h|ere go t|
|00006280| 68 72 6f 75 67 68 20 61 | 6c 6c 20 6f 66 20 74 68 |hrough a|ll of th|
|00006290| 65 20 62 61 63 6b 67 72 | 6f 75 6e 64 20 73 63 72 |e backgr|ound scr|
|000062a0| 69 70 74 73 0d 72 65 70 | 65 61 74 20 77 69 74 68 |ipts.rep|eat with|
|000062b0| 20 69 3d 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 | i=1 to |the numb|
|000062c0| 65 72 20 6f 66 20 62 61 | 63 6b 67 72 6f 75 6e 64 |er of ba|ckground|
|000062d0| 73 0d 70 75 74 20 74 68 | 65 20 73 63 72 69 70 74 |s.put th|e script|
|000062e0| 20 6f 66 20 62 6b 67 6e | 64 20 69 20 69 6e 74 6f | of bkgn|d i into|
|000062f0| 20 74 65 6d 70 0d 2d 2d | 63 68 65 63 6b 20 74 6f | temp.--|check to|
|00006300| 20 73 65 65 20 69 66 20 | 74 68 65 72 65 20 69 73 | see if |there is|
|00006310| 20 61 20 73 63 72 69 70 | 74 20 70 72 65 73 65 6e | a scrip|t presen|
|00006320| 74 20 69 6e 20 74 68 65 | 20 62 6b 67 6e 64 0d 69 |t in the| bkgnd.i|
|00006330| 66 20 74 65 6d 70 20 69 | 73 20 6e 6f 74 20 65 6d |f temp i|s not em|
|00006340| 70 74 79 20 74 68 65 6e | 0d 61 64 64 20 74 68 65 |pty then|.add the|
|00006350| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00006360| 20 69 6e 20 74 65 6d 70 | 20 74 6f 20 6c 69 6e 65 | in temp| to line|
|00006370| 73 6f 66 63 6f 64 65 0d | 2d 2d 68 65 72 65 20 73 |sofcode.|--here s|
|00006380| 65 74 20 75 70 20 74 68 | 65 20 61 64 64 72 65 73 |et up th|e addres|
|00006390| 73 0d 70 75 74 20 22 42 | 4b 47 4e 44 20 22 20 26 |s.put "B|KGND " &|
|000063a0| 20 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 | the sho|rt name |
|000063b0| 6f 66 20 62 6b 67 6e 64 | 20 69 20 69 6e 74 6f 20 |of bkgnd| i into |
|000063c0| 6e 61 6d 65 0d 66 69 6e | 64 68 61 6e 64 6c 65 72 |name.fin|dhandler|
|000063d0| 20 74 65 6d 70 2c 6e 61 | 6d 65 2c 63 6f 6d 6d 65 | temp,na|me,comme|
|000063e0| 6e 74 66 6c 61 67 0d 70 | 75 74 20 61 70 70 65 6e |ntflag.p|ut appen|
|000063f0| 64 6c 69 73 74 28 74 65 | 6d 70 68 61 6e 64 6c 65 |dlist(te|mphandle|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.